Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

getanimals

EliteDaMyth8.8kISC3.0.0

An Api wrapper to get animal photos

animals, wrapper, api

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 :)