1.1.3 • Published 8 months ago

friendlier-words v1.1.3

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

friendlier-words

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

Possible permutations:

  • 2 words: 401,736
  • 3 words: 707,858,832
  • 4 words: 1,247,247,261,984
  • 5 words: heat death of the universe

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.1.3

8 months ago

1.1.2

9 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago