all-about-cats / cat-pad

🐈 Left pad a string with cats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cat-pad

Build Status

Install

$ npm install --save cat-pad

Usage

const catPad = require('cat-pad');

catPad('Meow', 5);
//=> '🐈🐈🐈🐈🐈Meow'

API

catPad(input, count)

input

Type: string

String to pad.

count

Type: number
Default: 0

Amount of cats.

License

MIT Β© Sindre Sorhus

About

🐈 Left pad a string with cats

License:MIT License


Languages

Language:JavaScript 100.0%