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 is that this port does not support unicode characters!
##Install
$ npm install slugify
##Usage
var slugify = require('slugify');
slugify('some string'); // returns some-string
slugify('some string', '_'); // if you prefer something else then '-' as seperator
##Tests
$ mocha