node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

superb

superb Build Status

Get superb like words

Currently ~100 words.

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

Install

$ npm install superb

Usage

const superb = require('superb');
 
superb();
//=> 'legendary'
 
superb();
//=> 'awesome'
 
superb.words;
//=> ['superb', 'legendary', …]

API

superb()

Type: string

Random superb like word.

superb.words

Type: array

All the words.

CLI

$ npm install --global superb
$ superb --help

  Examples
    $ superb
    legendary

    $ superb --all
    ace
    amazing
    …

  Options
    --all  Get all the words instead of a random word

Related

License

MIT © Sindre Sorhus