Skip to content

botanicodes/dragon-names

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dragon-names Build Status

Get awesome dragon names

The name lists are just JSON files and can be used wherever.

Install

$ npm install --save dragon-names

Usage

var dragonNames = require('dragon-names');

dragonNames.literatureRandom();
//=> Smaug

API

.animated

Type: array

Top animated dragon names.

.comic

Type: array

Top comic dragon names.

.film

Type: array

Top film dragon names.

.game

Type: array

Top game dragon names.

.literature

Type: array

Top literature dragon names.

.television

Type: array

Top television dragon names.

.all

Type: array

Top dragon names.

.animatedRandom()

Type: function

Random animated dragon name.

.comicRandom()

Type: function

Random comic dragon name.

.filmRandom()

Type: function

Random film dragon name.

.gameRandom()

Type: function

Random game dragon name.

.literatureRandom()

Type: function

Random literature dragon name.

.televisionRandom()

Type: function

Random television dragon name.

.allRandom()

Type: function

Random dragon name.

CLI

$ npm install --global dragon-names
$ dragon-names --help

  Examples
    $ dragon-names
    Smaug

    $ dragon-names --all --type game
    Alduin
    Spyro
    ...

  Options
    --all   Get all names instead of a random name
    --type  Type of name: animated|comic|film|game|literature|television|all  Default: all

Inspired By Sindre Sorhus

License

MIT © Jared Dickson

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%