cmy 02a04f55a0 2023-3-15 2 年之前
..
index.js 02a04f55a0 2023-3-15 2 年之前
license 02a04f55a0 2023-3-15 2 年之前
package.json 02a04f55a0 2023-3-15 2 年之前
readme.md 02a04f55a0 2023-3-15 2 年之前

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