A very suitable API to generate random images of cats, dogs and random jokes, facts... A lot more!
npm install some-random-cat
!Total Downloads !Discord !npm !NPM !GitHub Repo stars
This is the official documentation for some-random-cat. Docs version \(v2.0\)
To install the package, you would have to make sure that node.js is installed on your machine. After that, you can simply do npm i some-random-cat in the terminal where you want to install the package or npm i some-random-cat -g to install it globally.
I saw that there were not many good packages for generating random stuff. So I decided to make one.
A very suitable API to generate random images of cats, dogs and random jokes, facts... A lot more!
* Object-oriented
* Speedy and efficient
* Feature-rich
* Easy
* Beginner-Friendly
* Flexible
Generate a random cat image:
``javascript``
const SomeRandomCat = require('some-random-cat').Random;
SomeRandomCat.getCat() // Function for generating cat
.then(res => {
console.log(res)
return
})
.catch(e => {
console.error(e)
return
});
To contribute in this package, simple open a pull request in the github repository. When all the checks for your request have been passed, we can merge it into the main branch.
* 200 weekly downloads
* and... growing!