suyiScreen/node_modules/trim-right
lixiaobang 18ece3f395 代码提交 2023-02-06 08:46:29 +08:00
..
index.js 代码提交 2023-02-06 08:46:29 +08:00
license 代码提交 2023-02-06 08:46:29 +08:00
package.json 代码提交 2023-02-06 08:46:29 +08:00
readme.md 代码提交 2023-02-06 08:46:29 +08:00

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'
  • trim-left - Similar to String#trim() but removes only whitespace on the left

License

MIT © Sindre Sorhus