text-padding
v1.0.1
Published
another.damn.text.padder, but in es6!
Downloads
2
Readme
made this as a joke, but that doesnt mean its useless
const pad = require('text-padding');
pad('hi', 5) // => ' hi'
pad('hi', 5, 'right') // => 'hi '
pad('hi', 5, 'right', '-') // => 'hi---'