padlr
Left and right padder, i.e. left pad and right pad.
Install
$ npm install padlr
Usage Example
Example: index.ts
; ;;;;; console.log`str1: .`;console.log`str2: .`;console.log`str3: .`;console.log`str4: .`;
Sample Output:
$ ts-node index.ts
str1: Hi there.
str2: -------Hi there.
str3: Hi there+++++++.
str4: Hi there .