Skip to content

๐Ÿˆ Left pad a string with cats

License

Notifications You must be signed in to change notification settings

all-about-cats/cat-pad

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%