Package Exports
- slugify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (slugify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
slugify
This is vanilla javascript port of node-slug so all credits goes to dodo. The only difference here is that this port does not support unicode characters!
var slugify = require('slugify')
// returns some-string
slugify('some string')
// if you prefer something else then '-' as seperator
slugify('some string', '_')
Note that the original module slug has been ported to vanilla javascript.