1.0.1 • Published 11 years ago
sluggish v1.0.1
sluggish
Sluggish slug generator that works universally
Works well in browsers, as its footprint size is very small.
Install
npm install sluggish --saveUsage
sluggish('Hola mundo soy -Awésome-')
<- 'hola-mundo-soy-awesome'API
Using sluggish(text) yields a hyphenated slug that's meant to be used for a URL or an id attribute.
License
MIT