right-trim
v1.0.3
Published
Removes whitespace on the right
Downloads
15
Maintainers
Readme
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'