sxoinas12 82e781b8aa Graph & Tree 5 gadi atpakaļ
..
index.js 82e781b8aa Graph & Tree 5 gadi atpakaļ
license 82e781b8aa Graph & Tree 5 gadi atpakaļ
package.json 82e781b8aa Graph & Tree 5 gadi atpakaļ
readme.md 82e781b8aa Graph & Tree 5 gadi atpakaļ

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