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'
Removes whitespace on the right. Build with nan.
# With npm
npm i right-trim
const rightTrim = require('right-trim');
rightTrim(' pizza ') // ~> ' pizza'
rightTrim('hello world ') // ~> 'hello world'
npm i right-trim
0
1.0.3
MIT
3.65 kB
6