1.0.7 • Published 7 years ago

random-animal v1.0.7

Weekly downloads
88
License
MIT
Repository
github
Last release
7 years ago

random-animal

Fetches a random image of a Dog or a Cat.

Install

npm install random-animal

Usage

const random = require("random-animal");

// Get a random image of a Cat via random.cat
random.cat().then(url => console.log(url)).catch(err => console.log(err.message));

// Get a random image of a Dog via random.dog 
random.dog().then(url => console.log(url)).catch(err => console.log(err.message));
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago