slugs

pure JavaScript url slug generator for Node.JS with minimal dependencies

npm install slugs
13 downloads in the last day
135 downloads in the last week
464 downloads in the last month

Slugs for Node.JS

Pure JavaScript slug generator for Node.JS applications that need to use slugs.

Usage

var slugs = require("slugs")

console.log(slugs('Hi there! How are you!"));
//Writes hi-there-how-are-you to console

Notes

Currently deletes unicode characters altogether, rather than convert them to URL-friendly chars.

npm loves you