cat-names
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

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

import {catNames, randomCatName} from 'cat-names';

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

randomCatName();
//=> 'Max'

API

catNames

Type: string[]

Top 100 cat names in alphabetical order.

randomCatName()

Type: Function

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

Package Sidebar

Install

npm i cat-names

Weekly Downloads

386

Version

4.0.0

License

MIT

Unpacked Size

5.38 kB

Total Files

7

Last publish

Collaborators

  • sindresorhus