fbrt
v0.0.1
Published
Simplified handler for firebase realtime.
Downloads
1
Maintainers
Readme
fbrt
const firebase = require('firebase'),
Fbrt = require("fbrt"),
db = new Fbrt(firebase.initializeApp({
apiKey: "apiKey",
databaseURL: "databaseURL"
}).database());
(async() => {
await db.set("abc", "xyz");
const data = await db.get("abc");
console.log(data); // xyz
await db.delete("abc");
})();