gist-io
v0.2.0
Published
tiny lib to use a crud with a gist
Downloads
2
Readme
gist-io - A simple way to CRUD a gist.
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));
TODO
- [ ] Recieve a gist ID, and use it from the constructor.
Licence MIT