Skip to content

Instantly share code, notes, and snippets.

@juliandavidmr
Created February 8, 2017 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandavidmr/2a9d88aeb8f0c4027bd80fc188df6342 to your computer and use it in GitHub Desktop.
Save juliandavidmr/2a9d88aeb8f0c4027bd80fc188df6342 to your computer and use it in GitHub Desktop.

Get popular cat names

Install

$ npm install --save cat-names

Usage

const catNames = require('cat-names');

catNames.random();
//=> 'Max'

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

License

MIT © Sindre Sorhus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment