feat: update tags to order by count
This commit is contained in:
parent
58d679d3c9
commit
2eed920716
10 changed files with 72 additions and 40 deletions
11
config/utils.js
Normal file
11
config/utils.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
const slugify = require("slugify");
|
||||
|
||||
const slugifyString = (string) => {
|
||||
return slugify(string, {
|
||||
lower: true,
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
slugifyString,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue