Get superhero names
The list is just a JSON file and can be used anywhere.
I'm not accepting additional entries to the list.
npm install superheroes
import superheroes from 'superheroes';
superheroes;
//=> ['3-D Man', 'A-Bomb', …]
Type: string[]
Superhero names in alphabetical order.
Type: Function
Get a random superhero name.
import {randomSuperhero} from 'superheroes';
randomSuperhero();
//=> 'Spider-Ham'