setup-php/node_modules/trim-right
2019-09-20 21:54:46 +05:30
..
index.js Improve code quality and write tests 2019-09-20 21:54:46 +05:30
license Improve code quality and write tests 2019-09-20 21:54:46 +05:30
package.json Improve code quality and write tests 2019-09-20 21:54:46 +05:30
readme.md Improve code quality and write tests 2019-09-20 21:54:46 +05:30

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