1.1.2 • Published 4 years ago
@dashpilot/tinyslug v1.1.2
tinyslug
An NPM module that slugifies strings, in a tiny package
How to use
const tinySlug = require('@dashpilot/tinyslug');
const Sentence = new tinySlug('This is a string that should be slugified');
console.log(Sentence.slugify());
// outputs: 'this-is-a-string-that-should-be-slugified'