setup-node/node_modules/trim-right
eric sciple 422b9fdb15 .
2020-01-24 12:21:24 -05:00
..
index.js . 2020-01-24 12:21:24 -05:00
license . 2020-01-24 12:21:24 -05:00
package.json . 2020-01-24 12:21:24 -05:00
readme.md . 2020-01-24 12:21:24 -05:00

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

License

MIT © Sindre Sorhus