Skip to content
forked from Slicertje/Slugify

Ruby lib to turn a string in its alfanumerical dashed equivalent

Notifications You must be signed in to change notification settings

eliduke/Slugify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slugify

A slugifier that converts utf-8 latin characters to their ascii counterpart. All non-recognized characters are removed, only lowercase alphanumerical characters and dashes are left. Also has an option to strip away starting, ending and double dashes.

Conversion is based on Latin script in Unicode (Wikipedia).

To use, just install it

gem install slugify

require it

require 'slugify'

and use it

"test test".slugify

About

Ruby lib to turn a string in its alfanumerical dashed equivalent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%