_padLeft
It was originally intended as an update for a popular package found in NPMjs, then I decided that it's so much different than that and maybe deserves its own place there ...
check it in your browser HERE
You can easily install by using Bower, a package manager for front-end components.