1.0.6 • Published 7 years ago

slug-generator v1.0.6

Weekly downloads
28
License
MIT
Repository
github
Last release
7 years ago

slug-generator

This is vanilla javascript port of node-slug so all credits goes to dodo and simov.

This script convert cyrilic to latin URI slug.

var slugify = require('slug-generator')

// add string to a function to create slug 
slugify('this is a string') // returns this-is-a-string

// if you want to change default separator(-) add 2nd parameter to function 
slugify('this is a string', '_') //returns this_is_a_string
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago