@ryanburnette/slugify
v1.0.1
Published
Slugify a string of text.
Downloads
5
Readme
slugify
Convert a string to a slug. Inspired by WordPress slugs.
Works in Browser or Node.js. Works by itself or with package managers.
Usage
var slugify = require('@ryanburnette/slugify');
console.log(slugify('60% of the time, it works every time'));
// '60-of-the-time-it-works-every-time'