Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pet-names

bfred-it19MIT1.0.1

Get popular pet names

cli-app, cli, bin, word, words, list, array, random, rand, boyfriend, pet, girflriend, cute, adorable, pumpkin, name, names, female, male

readme

pet-names Build Status

Get popular pet names

The name list is just a JSON file and can be used wherever. Originally from cutepetname.com

pet name noun a name that is used instead of someone's usual first name to express fondness or familiarity.

Not accepting PRs for additional names.

Install

$ npm install --save pet-names

Usage

const petNames = require('pet-names');

petNames.random();
//=> 'Snuggle Bunny'

API

.all

Type: array

~400 pet names in alphabetical order.

.random()

Type: function

Random pet name.

CLI

$ npm install --global pet-names
$ pet-names --help

  Examples
    $ pet-names
    Pumpkin

    $ pet-names --all
    Adorable
    Alliebear
    ...

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

License

MIT © Federico Brigante