Skip to content

curiosbasant/local-jsonbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local-jsonbase

npm install local-jsonbase
yarn add local-jsonbase

Example

// import {default as JsonBase} from "local-jsonbase"
const { default: JsonBase } = require("local-jsonbase")

const jsonBase = new JsonBase("database")
const docRef = await jsonBase.collection("users").add({
  username: "monty_bhai",
  age: 24,
})
docRef
  .collection("notifications")
  .doc("first")
  .create({ content: "This is your first notification." })

Highly inspired from firestore

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published