to-slug

Turn given text to slug. (anglicize + to-slug-case)

Turn given text to slug. Combines anglicize and to-slug-case.

toSlug = require('to-slug')
 
toSlug("Hüseyin MAHİR Ulaş")
// => huseyin-mahir-ulas 
 
toSlug("ÂÇİĞÖŞÜÑ+âçığöşüñ")
// => acigosun-acigosun 
$ npm install to-slug