Aaronontheweb/node-slugs — pull request #2 by tstrimple (2012-02-01 22:38:10+00:00)
Title: All regex, all the time.

Maybe too radical of a difference from the original, but it does all the replacements with regex. I added the ability to override the separator character and the list of characters to convert to dashes.