foguete-firebase
v2.1.0
Published
Making firebase easier and less heavy.
Downloads
3
Readme
Examples of the way to use
ES6
import FogueteFirebase from 'foguete-firebase'
const db = new FogueteFirebase({ url: 'example.firebaseio.com/' })
async function func() {
db.writeData('/', { Howdy: true })
console.log(await db.getData('/'))
}
func()
CommonJs
const FogueteFirebase = require('foguete-firebase')
const db = new FogueteFirebase({ url: 'example.firebaseio.com/' })
async function func() {
db.writeData('/', { Howdy: true })
console.log(await db.getData('/'))
}
func()