Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

superb

sindresorhus11.8kMIT5.0.0TypeScript support: included

Get superb like words

superb, awesome, word, words, list, array, random

readme

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'