Permalink
Fetching contributors…
Cannot retrieve contributors at this time
2 lines (1 sloc) 164 Bytes

Converts to lowercase, removes non-word characters (alphanumerics and underscores) and converts separators to hyphens. Also strips leading and trailing whitespace.