yesvods / superfood

Get superfood names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

superfood Build Status

Get superfood names

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

Install

$ npm install --save superfood

Usage

var superfood = require('superfood');

superfood.random();
//=> 'persimmon'

API

.all

Type: array

Superfood names in alphabetical order.

.random()

Type: function

Random superfood name.

CLI

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

  Examples
    $ superfood
    carrot

    $ superfood --all
    cake
    bread
    ...

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

Related

License

PowerBy Superheroes

MIT © Jogis

About

Get superfood names

License:MIT License


Languages

Language:JavaScript 100.0%