Trims string whitespace.
$ npm install pad-component
$ component install component/pad
Pad str
on both sides to the given len
, with optional char
defaulting to a space.
Pad str
on the left to the given len
with optional char
.
Pad str
on the right to the given len
with optional char
.
MIT