https://github.com/zosman1/friendly-word-slug
NPM Package: create friendly word slugs
https://github.com/zosman1/friendly-word-slug
Last synced: 7 months ago
JSON representation
NPM Package: create friendly word slugs
- Host: GitHub
- URL: https://github.com/zosman1/friendly-word-slug
- Owner: zosman1
- License: apache-2.0
- Created: 2019-11-19T02:50:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:17:45.000Z (over 3 years ago)
- Last Synced: 2025-01-29T15:38:49.637Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/friendly-word-slug
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```