mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
7 lines
181 B
JavaScript
7 lines
181 B
JavaScript
const slugs = require('slugify');
|
|
|
|
module.exports = exports = function slugify (s) {
|
|
const result = slugs(s, { remove: /[*+~.,()'"!?:@/\\]/g }).toLowerCase();
|
|
return result;
|
|
};
|