Use a gist as a place to save non-vital, non-persistent, non-scalable JSON data.
Just a 'lil db.
- How to install it
$ npm install gist-io
- How to use it
const { GistDB } = require("gist-io");
const db = new GistDB({
token: "YOUR_GITHUB_TOKEN",
});
db.getFileList("GIST_ID").then((data) => console.log(data));
- Recieve a gist ID, and use it from the constructor.
Licence MIT