mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2024-12-23 01:23:43 +01:00
11 lines
279 B
TypeScript
11 lines
279 B
TypeScript
|
import { getCategorizeGithubEmojiIds } from './fetch.js'
|
||
|
import { generateCheatSheet } from './markdown.js'
|
||
|
|
||
|
export async function generate() {
|
||
|
return generateCheatSheet(await getCategorizeGithubEmojiIds())
|
||
|
}
|
||
|
|
||
|
if (process.argv[2] === 'run') {
|
||
|
console.log(await generate())
|
||
|
}
|