Skip to content
An ascii art library for NodeJS on animals category.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
LICENSE
README.md
animals-ascii.js
animals.js
package.json

README.md

animals-ascii

FOSSA Status NPM Downloads NPM Version Code Size Code Language

Want to have some animals textart included in your project or console? Here you are!

Built with LoveMade with JavaScript

License

Join Our Discord Server

FOSSA Status

Installation

Use npm:

npm install animals-ascii --save

Animals in this version

  • cat
  • dog
  • cat_love
  • dog_nsfw
  • snake
  • snail
  • lion
  • cow

Usage

animals.drawAnimal(animal)

  • animal - The name of the animal.

This function will print the ascii to the console.

art.draw(animal)

  • animal - Name of the animal.

This function will return the ascii art.

Example

var art = require('animals-ascii');

//Print the animal to console
art.printAnimal("snake");

//or, define it by a variable.
const snake = art.getAnimal("snake");

Contribution

Contributing is really easy! Just make a pull request and help us by adding some more animals. Thanks! https://animals-ascii.js.org

You can’t perform that action at this time.