Skip to content

Latest commit

 

History

History
80 lines (48 loc) · 1.41 KB

readme.md

File metadata and controls

80 lines (48 loc) · 1.41 KB

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