vlad 6f123ff03e 18.07 | 6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
license | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 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