$ npm install --save cat-pad
const catPad = require('cat-pad');
catPad('Meow', 5);
//=> 'πππππMeow'
Type: string
String to pad.
Type: number
Default: 0
Amount of cats.
MIT Β© Sindre Sorhus
π Left pad a string with cats
$ npm install --save cat-pad
const catPad = require('cat-pad');
catPad('Meow', 5);
//=> 'πππππMeow'
Type: string
String to pad.
Type: number
Default: 0
Amount of cats.
MIT Β© Sindre Sorhus
π Left pad a string with cats
MIT License