🐈 Get popular cat names
JavaScript
Latest commit f1c26d1 Nov 4, 2016 @sindresorhus pin XO
Permalink
Failed to load latest commit information.
.editorconfig tweaks Dec 14, 2015
.gitattributes init Jan 14, 2015
.gitignore init Jan 14, 2015
.travis.yml tweaks Dec 14, 2015
cat-names.json init Jan 14, 2015
cli.js tweaks Oct 5, 2015
dofle.jpg init Jan 14, 2015
index.js simplify Jan 22, 2015
license init Jan 14, 2015
package.json pin XO Nov 4, 2016
readme.md Add random-tree-names to related (#15) Nov 4, 2016
test.js upgrade to latest AVA Apr 7, 2016

readme.md

cat-names Build Status

Get popular cat names

The name list is just a JSON file and can be used wherever.

Not accepting PRs for additional names.

Install

$ npm install --save cat-names

Usage

const catNames = require('cat-names');

catNames.random();
//=> 'Max'

API

.all

Type: array

Top 100 cat names in alphabetical order.

.random()

Type: function

Random cat name.

CLI

$ npm install --global cat-names
$ cat-names --help

  Examples
    $ cat-names
    Max

    $ cat-names --all
    Abby
    Angel
    ...

  Options
    --all   Get all names instead of a random name

Related

License

MIT © Sindre Sorhus