Similar to `String#trim()` but removes only whitespace on the right
$ npm install trim-right
Similar to
String#trim()
but removes only whitespace on the right
$ npm install trim-right
import trimRight from 'trim-right';
trimRight(' unicorn ');
//=> ' unicorn'
trim-left
- Similar to String#trim()
but removes only whitespace on the lefttrim-off-newlines
- Similar to String#trim()
but removes only newlines© 2010 - cnpmjs.org x YWFE | Home | YWFE