left-trim
Removes whitespace on the left. Build with nan.
Install
# With npm
npm i left-trim
How to use
const leftTrim = require('left-trim');
leftTrim(' pizza ') // ~> 'pizza '
leftTrim(' hello world') // ~> 'hello world'
Removes whitespace on the left. Build with nan.
# With npm
npm i left-trim
const leftTrim = require('left-trim');
leftTrim(' pizza ') // ~> 'pizza '
leftTrim(' hello world') // ~> 'hello world'
npm i left-trim
3
1.0.2
MIT
3.39 kB
6