Description:
A simple node package to get a image and a fact about cats and dogs.
Installation:
npm i node-dogandcat --save
Usage:
const random = ;random // Returns a promise containing the image url that you can resolve.; random // Returns a promise containing the random dog fact that you can resolve. You can also specify the amount to get as a function argument, but the default is 1, if the amount is more than 1, it will return an array.; random // Returns a promise containing the random cat fact that you can resolve. You can also specify the amount to get as a function argument, but the default is 1, if the amount is more than 1, it will return an array.; random // Returns a promise containing the image url that you can resolve.;