num-pad

Simple function to pad the passed in number, if less than 10 return 0<num> otherwise just returns the number.

Browse on unpkg