Skip to content

theavish/multipad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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***'

About

pad any text to the left, right, or center

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages