0.1.0 • Published 7 years ago
trim-left-zero v0.1.0
#Trim left zero
Simply removes leading zeros from string ##Installation
npm install trim-left-zero
##Usage
var trimLeftZero = require('trim-left-zero');
var a = '000121212xxx';
a = trimLeftZero(a);
console.log(a); // outputs 121212xxx