Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vadimdemedes/cat-facts
- Owner: vadimdemedes
- License: mit
- Created: 2016-01-17T11:27:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T14:11:40.000Z (over 7 years ago)
- Last Synced: 2024-04-15T12:13:34.433Z (5 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 57
- Watchers: 3
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
- awesome - vadimdemedes/cat-facts - Interesting cat facts (JavaScript)
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)