1.1.0 • Published 3 years ago

@jzach/slugger v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Slugger

Slugger is a JavaScript library that accepts any number of strings as arguments and returns a single string with hyphens between each word

npm i @jzach/slugger

Usage

const {slug} = require("@jzach/slugger");

slug.pluralize("Hi", "this is     me", "I hope    you will have an     AWESOME day"]) # returns "hi-this-is-me-i-hope-you-will-have-an-awesome-day"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.