|
||||
---|---|---|---|---|
.. | ||||
index.js | 11e3a9652a | 7 years ago | ||
license | 11e3a9652a | 7 years ago | ||
package.json | 11e3a9652a | 7 years ago | ||
readme.md | 11e3a9652a | 7 years ago |
Similar to
String#trim()
but removes only whitespace on the right
$ npm install --save trim-right
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
trim-left
- Similar to String#trim()
but removes only whitespace on the leftMIT © Sindre Sorhus