mirror of
https://github.com/thelounge/thelounge
synced 2024-12-21 01:43:07 +00:00
5 lines
106 B
JavaScript
5 lines
106 B
JavaScript
"use strict";
|
|
|
|
module.exports = function(orig) {
|
|
return orig.toLowerCase().replace(/[^a-z0-9]/, "-");
|
|
};
|