Skip to content

Slicertje/Slugify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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

Contributors 4

  •  
  •  
  •  
  •  

Languages