Skip to content

vadimdemedes/cat-facts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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