right-trim

1.0.3 • Public • Published

right-trim

Removes whitespace on the right. Build with nan.

Install

# With npm 
npm i right-trim 

How to use

const rightTrim = require('right-trim');

rightTrim('   pizza   ') // ~> '  pizza'
rightTrim('hello world    ') // ~> 'hello world'

Package Sidebar

Install

npm i right-trim

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

3.65 kB

Total Files

6

Last publish

Collaborators

  • gntousakis