mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-26 22:01:30 -04:00
trim-right 
Similar to
String#trim()but removes only whitespace on the right
Install
$ npm install --save trim-right
Usage
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
Related
trim-left- Similar toString#trim()but removes only whitespace on the left
License
MIT © Sindre Sorhus