Files
setup-haskell/node_modules/trim-right
Timothy Clem 63b90beb0c npm audit fix
2019-09-30 10:04:01 -07:00
..
2019-09-30 10:04:01 -07:00
2019-09-30 10:04:01 -07:00
2019-09-30 10:04:01 -07:00
2019-09-30 10:04:01 -07: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