|
|
il y a 2 semaines | |
|---|---|---|
| .. | ||
| index.js | il y a 2 semaines | |
| license | il y a 2 semaines | |
| package.json | il y a 2 semaines | |
| readme.md | il y a 2 semaines | |
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