feat: update tags to order by count

This commit is contained in:
Devin Haska 2024-02-11 14:31:32 -08:00
parent 58d679d3c9
commit 2eed920716
10 changed files with 72 additions and 40 deletions

11
config/utils.js Normal file
View file

@ -0,0 +1,11 @@
const slugify = require("slugify");
const slugifyString = (string) => {
return slugify(string, {
lower: true,
});
};
module.exports = {
slugifyString,
};