trim-right Build Status

Similar to String#trim() but removes only whitespace on the right

Install

$ npm install --save trim-right

Usage

```js var trimRight = require('trim-right');

trimRight(' unicorn '); //=> ' unicorn' ```

Related

License

MIT © Sindre Sorhus