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

3.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.1.0
    625
    • latest

Version History

Package Sidebar

Install

npm i supervillains

Weekly Downloads

641

Version

3.1.0

License

MIT

Unpacked Size

14.6 kB

Total Files

6

Last publish

Collaborators

  • sindresorhus