An open API service indexing awesome lists of open source software.

https://github.com/extremeexploit/random.cat.js


https://github.com/extremeexploit/random.cat.js

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          



NPM version
NPM downloads
Build status


## 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))
```