'use strict'; function slugify(string) { return string.trim().toLowerCase().match(/\w+/g).join('-'); } module.exports = slugify;