Pad Both
to add custom string between string
How to use
var padBoth = require('pad-both')
var str = 'test'
var padded = padBoth(str, 8, '-') // --test--
var padded1 = padBoth(str, 8) // test , by default is add space string
API
padBoth(str: String, length: integer, addString: String(?optional))
// by default