Skip to content

sindresorhus/cat-names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 30, 2024
966a21b · Apr 30, 2024

History

30 Commits
Apr 30, 2024
Sep 17, 2018
Sep 17, 2018
Sep 17, 2018
Sep 17, 2018
Jan 14, 2015
Apr 30, 2024
Jan 14, 2015
Apr 30, 2024
Apr 30, 2024
Apr 30, 2024
Apr 30, 2024
Apr 30, 2024
Apr 30, 2024
Apr 30, 2024

Repository files navigation

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