Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vadimdemedes/cat-facts

Interesting cat facts
https://github.com/vadimdemedes/cat-facts

Last synced: about 2 months ago
JSON representation

Interesting cat facts

Awesome Lists containing this project

README

        

# cat-facts

[![Build Status](https://travis-ci.org/vdemedes/cat-facts.svg?branch=master)](https://travis-ci.org/vdemedes/cat-facts)

Interesting cat facts

![](http://i.giphy.com/xT77XZrTKOxycjaYvK.gif)

## Installation

```
$ npm install cat-facts --save
```

## Usage

```js
const catFacts = require('cat-facts');

let randomFact = catFacts.random();
// 'Grown cats have 30 teeth'

let allFacts = catFacts.all;
// [
// 'Grown cats have 30 teeth',
// 'A group of cats is called a clowder'
// ...
// ]
```

## Tests

```
$ npm test
```

## License

MIT © [Vadim Demedes](https://github.com/vdemedes)