supervillains

Get supervillain names


Keywords
word, words, list, array, random, rand, supervillains, supervillain, villains, villain, marvel, dc, comics
License
MIT
Install
npm install supervillains@3.1.0

Documentation

supervillains

Get supervillain names

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

Install

npm install supervillains

Usage

const supervillains = require('supervillains');

supervillains.all;
//=> ['Abattoir', 'Able Crown', …]

supervillains.random();
//=> 'Mud Pack'

API

.all

Type: string[]

Supervillain names in alphabetical order.

.random()

Type: Function

Random supervillain name.

Related