🐈 Get popular cat names
Switch branches/tags
Clone or download
Latest commit 9f43b77 Sep 17, 2018
Permalink
Failed to load latest commit information.
.editorconfig Require Node.js 6 Sep 17, 2018
.gitattributes Require Node.js 6 Sep 17, 2018
.gitignore Require Node.js 6 Sep 17, 2018
.npmrc Require Node.js 6 Sep 17, 2018
.travis.yml Require Node.js 6 Sep 17, 2018
cat-names.json init Jan 14, 2015
cli.js Require Node.js 6 Sep 17, 2018
dofle.jpg init Jan 14, 2015
index.js Require Node.js 6 Sep 17, 2018
license Require Node.js 6 Sep 17, 2018
package.json 2.0.0 Sep 17, 2018
readme.md Require Node.js 6 Sep 17, 2018
test.js Require Node.js 6 Sep 17, 2018

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 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