ASCII cats all up in your Node.js and command line!
A lightweight, fun library that provides a collection of ASCII art cats for your terminal or Node.js applications. Perfect for adding some feline charm to your command line tools or just having fun with ASCII art.
npm install ascii-cats
npm install -g ascii-cats
const asciiCats = require('ascii-cats');
// Get a random cat
console.log(asciiCats());
// Get a specific cat by name
console.log(asciiCats('nyan'));
// Get a list of all available cat names
console.log(asciiCats.catNames);
# Display a random cat
asciiCats
# Display a specific cat
asciiCats nyan
# List all available cat names
asciiCats --cats
asciiCats()
/\ ___ /\
( o o )
\ >#< /
/ \
/ \ ^
| | //
\ / //
/// /// --
asciiCats('nyan')
☆ ☆ ☆
┈┈┈┈ ╭━━━━━━╮ ☆
┈☆ ┈┈┃╳╳╳▕╲▂▂╱▏
┈┈☆ ┈┃╳╳╳▕▏▍▕▍▏
┈┈ ╰━┫╳╳╳▕▏╰┻╯▏
☆ ┈┈┈┃╳╳╳╳╲▂▂╱
☆ ╰┳┳━━┳┳╯ ☆
The library includes a variety of cats, each with its own unique style:
grumpy
- The internet-famous grumpy catapproaching
- A cat approaching youtubby
- A tubby catconfused
- A confused catplayful
- A playful catthoughtful
- A thoughtful catdelighted
- A delighted catnyan
- The famous Nyan catresting
- A resting catoctocat
- GitHub's mascotready-to-attack
- A cat ready to pounceawake
- A wide-awake catsleepy
- A sleepy catgot-dat-cat
- A dancing cathector
- Hector the catleroy
- Leroy the catlongcat
- The legendary long catlucky
- A lucky catsexy
- A fancy catfish-bowl
- A cat with a fish bowlhalloween
- A spooky Halloween cat
And many more! Use asciiCats --cats
to see the full list.
For more detailed information, check out our Wiki which includes:
Contributions are welcome! To add a new cat:
- Fork the repository
- Add your cat to the
cats.json
file with a clever name - Make sure it's properly formatted
- Submit a pull request
Please ensure your code passes the standard style checks and tests before submitting.
MIT © William Li