1.0.4 • Published 2 months ago

friendlier-words v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

friendlier-words

friendlier-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

pnpm add friendlier-words

Usage

import { friendlyWords } from 'friendlier-words';

// Default (2 segments, '-')
const words = friendlyWords();

// Custom (3 segments, '_')
const words = friendlyWords(3, '_');
1.0.4

2 months ago

1.0.3

4 months ago

1.0.2

7 months ago