iyegoroff / cat-names

:cat2: Get popular cat names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:cat2: Get popular cat names

License:MIT License


Languages

Language:JavaScript 100.0%