1.0.2 • Published 4 years ago

brah v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

brah Build Status

Get brah like words

Currently ~43 words. I might accept more words.

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

Install

$ npm install brah

Usage

const brah = require('brah');

brah.random();
//=> 'legendary'

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

brah.all;
//=> ['ace', 'amazing', …]

API

.all

Type: string[]

All the words in alphabetical order.

.random()

Type: Function

Random word.

Related

License

Brah is a fork of random, with only words changed, all credit goes to Sindre Sorhus. MIT © Sindre Sorhus

1.0.2

4 years ago

1.0.1

4 years ago