1.0.0 • Published 7 years ago

superfood v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

superfood Build Status

Get superfood names

npm.io

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

Install

$ npm install --save superfood

Usage

var superfood = require('superfood');

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

API

.all

Type: array

Superfood names in alphabetical order.

.random()

Type: function

Random superfood name.

CLI

$ npm install --global superfood
$ superfood --help

  Examples
    $ superfood
    Spider-Ham

    $ superfood --all
    3-D Man
    A-Bomb
    ...

  Options
    --all   Get all names instead of a random name

Related

License

PowerBy Superheroes

MIT © Jogis