nerdy-cat-names

Get nerdy cat names

Usage no npm install needed!

<script type="module">
  import nerdyCatNames from 'https://cdn.skypack.dev/nerdy-cat-names';
</script>

README

nerdy-cat-names Build Status

Get nerdy cat names

The name list is just a JSON file and can be used wherever.

Install

$ npm install --save cat-names

Usage

var catNames = require('nerdy-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 nerdy-cat-names
$ cat-names --help

  Examples
    $ cat-names
    Max

    $ cat-names --all
    Abby
    Angel
    ...

  Options
    --all   Get all names instead of a random name

P.S: This is an extension of Sindre's cat-names module.