Skip to content

LuisPaGarcia/gist-io

Repository files navigation

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.

  1. How to install it
$ npm install gist-io
  1. 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

About

Package to use a gist like a lil' db, using CRUD actions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published