friendly-words
friendly-words
is a JavaScript package that creates friendly words to use in your app, e.g. in project names. It's based off the library by Glitch, but with some choice improvements:
- Curated the word lists to remove strange word combinations
- Generated categories of words rather than objects, allowing for more flexibility
- Allow for a custom number of segments
- Allow for a custom separator
Installation
yarn add @beskar-labs/friendly-words
Usage
import { friendlyWords } from '@beskar-labs/friendly-words';
const words = friendlyWords();
const words = friendlyWords(3, '_');