animality
A simple API wrapper that generates images & facts of any animal
Installation
Use the package manager npm to install animality
.
$ npm i animality
Require
const animality = require('animality');
Usage
Animals:
cat
dog
bird
panda
redpanda
koala
fox
whale
kangaroo
bunny
Get one or multiple animal images and facts
const animality = require('animality');
const animal = 'cat';
animality.getAsync(animal).then(console.log);
const animals = ['cat', 'dog', 'panda'];
animality.getAsync(animals).then(console.log);
const animal = 'random';
animality.getAsync(animal).then(console.log);