universalwrapper
v0.1.0
Published
A simple, universal key-value database wrapper for all kinds of database platforms.
Downloads
4
Maintainers
Readme
simpledb
in progress
const simpledb = require("universalwrapper")
simpledb.setup("googlesheets")
const db = simpledb.db()
console.log("a",db)
db.setup(process.env.sheetid,process.env.email,process.env.key).then(function() {
//db.add("users","test",{correctreading:10,correct:2}).then(console.log)
//db.get("users","test").then(console.log)
//db.set("users","test",{answered:2,correct:0}).then(console.log)
//db.remove("users","test")
})