Mario Romano 29df96a085 react app
2016-04-06 17:52:19 +01:00
..
2016-04-06 17:52:19 +01:00
2016-04-06 17:52:19 +01:00
2016-04-06 17:52:19 +01:00
2016-04-06 17:52:19 +01: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