%PDF- %PDF-
Direktori : /home/opti/workflow/node_modules/underscore.string/ |
Current File : /home/opti/workflow/node_modules/underscore.string/slugify.js |
var trim = require('./trim'); var dasherize = require('./dasherize'); var cleanDiacritics = require('./cleanDiacritics'); module.exports = function slugify(str) { return trim(dasherize(cleanDiacritics(str).replace(/[^\w\s-]/g, '-').toLowerCase()), '-'); };