1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00
Files
GenderDysphoria.fyi/build/lib/slugify.js
Jocelyn Badgley (Twipped) d542e8b23d Fix the broken header links
2021-08-27 11:53:38 -07:00

7 lines
181 B
JavaScript

const slugs = require('slugify');
module.exports = exports = function slugify (s) {
const result = slugs(s, { remove: /[*+~.,()'"!?:@/\\]/g }).toLowerCase();
return result;
};