1
0
mirror of https://github.com/shivammathur/setup-php.git synced 2025-02-28 17:59:04 +07:00
2019-09-20 21:54:46 +05:30
..
2019-09-20 21:54:46 +05:30
2019-09-20 21:54:46 +05:30
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