Combine left, right and center pad modules in lack of a working alternative
npm install strpad> Combine left, right and center pad modules in lack of a working alternative



See String.prototype.padStart() (left) and String.prototype.padEnd() (right) for builtin functions.

```
$ npm install strpad
`js
const strpad = require( "strpad" );
strpad.left( "foo", 5 );
//=> " foo"
strpad.right( "foo", 5 );
//=> "foo "
strpad.center( "foo", 5 );
//=> " foo "
/ With filler: /
strpad.left( "bar", 5, "-" );
//=> "--bar"
strpad.right( "bar", 5, "-" );
//=> "bar--"
strpad.center( "bar", 5, "-" );
//=> "-bar-"
`
`js
strpad.left( "foo", 5 );
//=> " foo"
strpad.left( "bar", 5, "-" );
//=> "--bar"
`
See bultin function: String.prototype.padStart().
`js
strpad.right( "foo", 5 );
//=> "foo "
strpad.right( "bar", 5, "-" );
//=> "bar--"
`
See builtin function: String.prototype.padEnd().
`js
strpad.center( "foo", 5 );
//=> " foo "
strpad.center( "bar", 5, "-" );
//=> "-bar-"
`
See original module: @fav/text.pad.
```
$ npm run test
GPLv3 © Jonathan Neidel