https://github.com/extremeexploit/random.cat.js
https://github.com/extremeexploit/random.cat.js
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/extremeexploit/random.cat.js
- Owner: EXtremeExploit
- Created: 2017-12-28T05:00:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T02:09:00.000Z (about 3 years ago)
- Last Synced: 2025-06-09T02:12:10.278Z (about 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
random.cat.js is a [node.js](https://nodejs.org) module that allows you to interact with the
[random.cat API](http://random.cat) very easily.
- Predictable abstractions
## Installation
`npm install random.cat.js --save`
## Example usage
```js
const randomCat = require('random.cat.js');
const randomCatApi = randomCat.api();
randomCatApi.getCat().then((cat) => console.log(cat.file))
```