node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



Slugify your strings

var slugify = require('cozy-slug');
expect('hello-world')'Hello world'));


Add it to your package.json file or run in your project folder:

npm install cozy-slug --save 

What is Cozy?

Cozy Logo

Cozy is a platform that brings all your web services in the same private space. With it, your web apps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one profiles you. You install only the applications you want. You can build your own one too.


You can reach the Cozy community via various support: