3.1.0 • Published 2 years ago

supervillains v3.1.0

Weekly downloads
1,038
License
MIT
Repository
github
Last release
2 years ago

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