Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zosman1/friendly-word-slug
NPM Package: create friendly word slugs
https://github.com/zosman1/friendly-word-slug
Last synced: 9 days 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:17:45.000Z (about 2 years ago)
- Last Synced: 2024-12-08T02:07:31.116Z (30 days 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 returnformat: what format to put them in
```Example Usage :
```
randomWords()
//gooserandomWords(3, "camelCase")
//gooseAppleCar
```