readme.md
trim-right 
Similar to <code>String#trim()</code> but removes only whitespace on the right
Install
$ npm install --save trim-right
Usage
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
Related
- <code>trim-left</code> - Similar to
String#trim()
but removes only whitespace on the left
License
MIT © Sindre Sorhus