1.1.3 • Published 7 years ago

relevant-animals v1.1.3

Weekly downloads
34
License
ISC
Repository
github
Last release
7 years ago

relevant-animals Build Status NPM

Return cute animals, made for everyone with useful methods using promises and snekfetch

Usage

Usage is extremely simple.

If you wanted a random dog URL:

const animals = require('relevant-animals')

animals.dog().then(s => console.log(s))

This would return http://random.dog/8811-17451-16018.jpg (or another random URL). If you want a shibe or cat:

const animals = require('relevant-animals')

animals.shibe().then(s => console.log(s))
animals.cat().then(s => console.log(s))

This would return https://shibecdn.azureedge.net/shibes/62ac94d3e9fc41525878ec33a42dc953d3b07d92.jpg or http://random.cat/i/lnEufzo.jpg. (of course, could be another random URL).

Thats it!

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago