friendly-word-slug
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Friendly Word Slugs 🐌

Installation: npm i friendly-word-slug

Usage: randomWords()

  • Returns a random word

randomWords(number, format)

NOTE: Acceptable formats include "camelCase" "snakeCase" and "kebabCase"

  • returns number random words formatted using the format scheme
number: how many words to return

format: what format to put them in

Example Usage :

randomWords()
//goose

randomWords(3, "camelCase")
//gooseAppleCar

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i friendly-word-slug

Weekly Downloads

1

Version

0.3.0

License

Apache

Unpacked Size

38.2 kB

Total Files

9

Last publish

Collaborators

  • zosman