3 ms·Create Slug from String in JavaScript8 points by tosh 4y agoSpivak 4y agoI love these kinds of problems, but it’s bikeshedding all the way down until you agree on a set of tests. Then you can start iterating on a solution.janpot 4y agotake a look at https://stackoverflow.com/a/37511463 https://stackoverflow.com/a/37511463