Logo white

ADAM / AIAHTML5

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues
  • Merge Requests 14
  • Labels
  • Wiki
  • Snippets
  • AIAHTML5
  • 400-SOURCECODE
  • AIAHTML5.Admin
  • node_modules
  • trim-right
  • readme.md
  • Committed updated files regarding validations
    9c9b5716
    Utkarsh Singh authored
    2017-05-25 18:18:11 +0530  
    Browse Code »
readme.md 673 Bytes
Edit Raw Blame History Permalink

trim-right Build Status

Similar to <code>String#trim()</code> but removes only whitespace on the right

Install

$ npm install --save trim-right

Usage

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

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

Related

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

License

MIT © Sindre Sorhus