Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages