supervillains

Get supervillain names

Usage no npm install needed!

<script type="module">
  import supervillains from 'https://cdn.skypack.dev/supervillains';
</script>

README

supervillains Build Status

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