Files
hackathon-v-escape-4ff8b5a6…/frontend/node_modules/trim-right
marianesaldana 80dbd947e5 Initial commit
2026-05-23 08:59:34 -06:00
..
2026-05-23 08:59:34 -06:00
2026-05-23 08:59:34 -06:00
2026-05-23 08:59:34 -06:00
2026-05-23 08:59:34 -06:00

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