Popularity
2.8
Declining
Activity
1.9
Declining
194
7
16

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Weird     List     CLI     Cli-app     Random     Rand     Bin     Array     Words     Word     Comics     Dc     Marvel     Hero     Heroes     Superhero     Superheroes    
Latest version: v3.0.0

superheroes alternatives and similar modules

Based on the "Weird" category

Do you think we are missing an alternative of superheroes or a related project?

Add another 'Weird' Module

README

superheroes Build Status

Get superhero names

The list is just a [JSON file](superheroes.json) and can be used anywhere.

Install

$ npm install superheroes

Usage

const superheroes = require('superheroes');

superheroes.all;
//=> ['3-D Man', 'A-Bomb', …]

superheroes.random();
//=> 'Spider-Ham'

API

.all

Type: string[]

Superhero names in alphabetical order.

.random()

Type: Function

Random superhero name.

License

MIT © Sindre Sorhus


*Note that all licence references and agreements mentioned in the superheroes README section above are relevant to that project's source code only.