Similar to `String#trim()` but removes only whitespace on the right
$ cnpm 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 newlinesCopyright 2013 - present © cnpmjs.org | Home |