Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

This package has been deprecated

Author message:

i feel too much shame about this package

trim-left-zero

0.1.0 • Public • Published

Trim left zero

Build Status

Simply removes leading zeros from string

Installation

npm install trim-left-zero

Usage

var trimLeftZero  = require('trim-left-zero');
var a = '000121212xxx';
= trimLeftZero(a);
console.log(a); // outputs 121212xxx

install

npm i trim-left-zero

Downloadsweekly downloads

10

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability