2.0.0 • Published 3 years ago
@izzyapyd/slugger v2.0.0
Slugger Package
Slugger Package is a package that lets you insert '-' between words a given string. It can recieve any number of string as argument
Getting started
const index = require('./index');
Examples
Here are some examples of how to use slugger
- use cases:
- index.slugger(""hi") // "hi"
- index.slugger("hi there") // "hi-there"
index.slugger("hi there", "mr", "stranger") // "hi-there-mr-stranger"