Can you make a module in `lib` with this method? We're using the same slugging algorithm everywhere.