vlad 6f123ff03e 18.07 6 rokov pred
..
index.js 6f123ff03e 18.07 6 rokov pred
license 6f123ff03e 18.07 6 rokov pred
package.json 6f123ff03e 18.07 6 rokov pred
readme.md 6f123ff03e 18.07 6 rokov pred

readme.md

trim-right Build Status

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 to String#trim() but removes only whitespace on the left

License

MIT © Sindre Sorhus