New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

superheroes

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superheroes

Get superhero names

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
832
12.43%
Maintainers
1
Weekly downloads
 
Created
Source

superheroes Build Status

Get superhero names

The list is just a JSON file and can be used anywhere.

Install

$ npm install superheroes

Usage

const superheroes = require('superheroes');

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

API

.all

Type: Array

Superhero names in alphabetical order.

.random()

Type: Function

Random superhero name.

License

MIT © Sindre Sorhus

Keywords

word

FAQs

Package last updated on 14 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts