zfill

0.0.2 • Public • Published

zfill

Usage

var zfill = require('zfill');
 
console.log(zfill(9, 2)); // prints '09'
console.log(zfill(1234, 3)); // prints '1234'

Readme

Keywords

none

Package Sidebar

Install

npm i zfill

Weekly Downloads

82

Version

0.0.2

License

BSD

Last publish

Collaborators

  • superjoe