Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

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

License

MIT © Sindre Sorhus