🛠️ build(nuxt): shift astro to nuxt

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-16 23:40:11 +05:30
parent e99a93a5b6
commit 74996af65d
110 changed files with 9442 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* Get a gist from Github API by gist ID
* @param {*} gistId
* @returns
*/
const getGistById = async (gistId) => {
const response = await fetch('https://api.github.com/gists/' + gistId)
return response.json()
}
module.exports = {
getGistById
}