leftpad

left pad numbers

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
leftpad
400.0.17 years ago11 years agoMinified + gzip package size for leftpad in KB

Readme

leftpad

CircleCI
Like the pad module, except I'll remember the argument order.
var leftpad = require('leftpad');

leftpad(5, 10);
'0000000005'