Lawsun d230cfbce0 first commit 1 year ago
..
index.js d230cfbce0 first commit 1 year ago
license d230cfbce0 first commit 1 year ago
package.json d230cfbce0 first commit 1 year ago
readme.md d230cfbce0 first commit 1 year ago

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