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