Interesting cat facts
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig init Jan 17, 2016
.gitignore init Jan 17, 2016
.travis.yml init Jan 17, 2016
License.md init Jan 17, 2016
Readme.md add cat gif, of course Jan 17, 2016
cat-facts.json Update cat facts (#4) Mar 28, 2017
index.js init Jan 17, 2016
package.json Release v1.0.2 Jan 24, 2016
test.js Add more facts, from http://www.animalplanet.com/pets/cat-facts/ Jan 24, 2016

Readme.md

cat-facts

Build Status

Interesting cat facts

Installation

$ npm install cat-facts --save

Usage

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