cat-names

Get popular cat names


Keywords
cli-app, cli, bin, word, words, list, array, random, rand, animal, cat, cats, kitten, name, names, female, male, nodejs
License
MIT
Install
npm install cat-names@3.1.0

Documentation

cat-names

Get popular cat names

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

I'm not accepting PRs for additional names.

Install

$ npm install cat-names

Usage

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

catNames.all;
//=> ['Abby', 'Angel', …]

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

API

.all

Type: string[]

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