1
0
mirror of https://github.com/ikatyang/emoji-cheat-sheet.git synced 2025-04-04 06:23:40 +02:00
emoji-cheat-sheet/scripts/generate.js
Matěj Kotlant 2ca8a6d6ad Revert "build: update infra (#652)"
This reverts commit 4896810dcc.
2023-08-14 02:24:56 +02:00

13 lines
366 B
JavaScript

const { getCategorizeGithubEmojiIds } = require("./fetch");
const { generateCheatSheet } = require("./markdown");
async function generate() {
return generateCheatSheet(await getCategorizeGithubEmojiIds());
}
if (require.main === /** @type {unknown} */ (module)) {
generate().then(cheatSheet => console.log(cheatSheet));
} else {
module.exports = generate;
}