multipad

1.1.1 • Public • Published

multipad

pad any text to the left, right, or center

to install: npm install multipad

check it out on npm

var pad = require('multipad');
 
pad.right('hello', 10, '*'); // 'hello*****'
 
pad.left('hello', 10, '*'); // '*****hello'
 
pad.center('hello', 10, '*'); // '***hello**'
 
pad.center('hello', 11, '*'); // '***hello***'

/multipad/

    Package Sidebar

    Install

    npm i multipad

    Weekly Downloads

    4

    Version

    1.1.1

    License

    ISC

    Last publish

    Collaborators

    • theavish