node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

slugifier

slugifier

Slugifier for javascript

Install

$ npm install slugifier

Usage

var slugifier = require('slugifier');
slugifier.toSlug('Constipação de Inverno'); // yields 'constipacao-de-inverno'