1.0.0 • Published 9 years ago

nerdy-cat-names v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

nerdy-cat-names Build Status

Get nerdy cat names

npm.io

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.