npm.io
1.0.2 • Published 5 years ago

left-trim

Licence
MIT
Version
1.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

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'

Keywords