lihai 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
..
index.js 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
license 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
package.json 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
readme.md 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos

readme.md

trim-right Build Status

Similar to String#trim() but removes only whitespace on the right

Install

$ npm install --save trim-right

Usage

var trimRight = require('trim-right');

trimRight('  unicorn  ');
//=> '  unicorn'

Related

  • trim-left - Similar to String#trim() but removes only whitespace on the left

License

MIT © Sindre Sorhus