leftpad

left pad numbers

npm install leftpad
3 downloads in the last day
18 downloads in the last week
23 downloads in the last month

leftpad

Like the pad module, except I'll remember the argument order.

var leftpad = require('leftpad');

leftpad(5, 10);
'0000000005'
npm loves you