# supervillains > Get supervillain names The list is just a [JSON file](supervillains.json) and can be used anywhere. ## Install ```sh npm install supervillains ``` ## Usage ```js 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. ```js import {randomSupervillain} from 'supervillains'; randomSupervillain(); //=> 'Mud Pack' ``` ## Related - [supervillains-cli](https://github.com/sindresorhus/supervillains-cli) - CLI for this module - [superheroes](https://github.com/sindresorhus/superheroes) - Get superhero names - [cat-names](https://github.com/sindresorhus/cat-names) - Get popular cat names - [dog-names](https://github.com/sindresorhus/dog-names) - Get popular dog names - [pokemon](https://github.com/sindresorhus/pokemon) - Get Pokémon names - [superb](https://github.com/sindresorhus/superb) - Get superb like words - [yes-no-words](https://github.com/sindresorhus/yes-no-words) - Get yes/no like words