getanimals

An Api wrapper to get animal photos

Usage no npm install needed!

<script type="module">
  import getanimals from 'https://cdn.skypack.dev/getanimals';
</script>

README

GetAnimals API

The getanimals NPM package is an API wrapper for get-animals api.

there are 5 animals.

  • dog
  • cat
  • fox
  • shiba
  • bird

Usage

You can use getanimals like this:

var getanimals = require('getanimals');

getanimals.dog() // you can use any other animal ex getanimals.cat() etc
  .then((url) => console.log(url))
  .catch((err) => console.error(err));

Contributors

Advil and litguy

also obviously this is gonna be the most used package of 2k20 :)