/slugify

Slugifies a string

Primary LanguageJavaScript

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