Skip to content

Repository files navigation

supervillains

Get supervillain names

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

Install

npm install supervillains

Usage

import supervillains from 'supervillains';

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

API

supervillains

Type: string[]

Supervillain names in alphabetical order.

randomSupervillain()

Type: Function

Get a random supervillain name.

import {randomSupervillain} from 'supervillains';

randomSupervillain();
//=> 'Mud Pack'

Related

About

Get supervillain names

Resources

Code of conduct

Contributing

Stars

119 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages