2.0.0 • Published 5 years ago
trim-left v2.0.0
trim-left
Similar to
String#trim()but removes only whitespace on the left
Install
$ npm install trim-leftUsage
import trimLeft from 'trim-left';
trimLeft(' unicorn ');
//=> 'unicorn 'Related
trim-right- Similar toString#trim()but removes only whitespace on the righttrim-off-newlines- Similar toString#trim()but removes only newlines