Skip to content

sindresorhus/superb

Repository files navigation

superb

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 anywhere.

Install

npm install superb

Usage

import superbWords from 'superb';

superbWords;
//=> ['ace', 'amazing', …]

API

superbWords

Type: string[]

All the words in alphabetical order.

randomSuperbWord()

Type: Function

Get a random word.

import {randomSuperbWord} from 'superb';

randomSuperbWord();
//=> 'legendary'

randomSuperbWord();
//=> 'awesome'

Related