node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

slug-component

slug

slug generator

Installation

$ component install yields/slug

API

slug(str[, replacement])

slug('foo bar');
// > foo-bar 
slug('foo bar', '_');
// > foo_bar 

Tests

$ make test

License

MIT