Get superb like words
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.npmrc
.travis.yml Require Node.js 6 Jul 14, 2018
index.js Change the API Jul 14, 2018
license Require Node.js 4 Oct 19, 2017
package.json 3.0.0 Jul 14, 2018
readme.md
test.js
words.json

readme.md

superb Build Status

Get superb like words

Currently ~100 words. I'm not accepting more 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.random();
//=> 'legendary'

superb.random();
//=> 'awesome'

superb.all;
//=> ['superb', 'legendary', …]

API

.all

Type: Array

All the words in alphabetical order.

.random()

Type: Function

Random word.

Related

License

MIT © Sindre Sorhus