leftpad

left pad numbers

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

var leftpad = require('leftpad');
 
leftpad(5, 10);
'0000000005'