brah

Get brah like words

Usage no npm install needed!

<script type="module">
  import brah from 'https://cdn.skypack.dev/brah';
</script>

README

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