Skip to content

all-about-cats/cat-names

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • JavaScript 100.0%