npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

supervillains

4.0.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:6052
$ npm install supervillains
DailyWeeklyMonthlyYearly

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

  • supervillains-cli - CLI for this module
  • superheroes - Get superhero names
  • cat-names - Get popular cat names
  • dog-names - Get popular dog names
  • pokemon - Get Pokémon names
  • superb - Get superb like words
  • yes-no-words - Get yes/no like words