mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 12:32:42 +00:00
Remove slugify
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
const slugs = require('slugify');
|
||||
|
||||
module.exports = exports = function slugify (s) {
|
||||
const result = s.trim().replace(/[^\p{L}\p{N}]+/ug, '-').replace(/^-+/, '').replace(/-+$/, '').toLowerCase();
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user