doggie-names
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

dog-names

Get popular dog 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 dog-names

Usage

const dogNames = require('dog-names');

dogNames.all;
//=> ["Akbash Dog",  "Akita", …]
       

dogNames.random();
//=> 'Armant'

API

.all

Type: string[]

Top 100 dog names in alphabetical order.

.random()

Type: Function

Random dog name.

CLI

$ npm install --global dog-names
$ dog-names --help

  Examples
    $ dog-names
    Armant

    $ dog-names --all
    Akbash Dog
    Akita   
    …

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

Related

Package Sidebar

Install

npm i doggie-names

Weekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

15.9 kB

Total Files

6

Last publish

Collaborators

  • anuns2000