local-jsonbase
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i local-jsonbase

Weekly Downloads

4

Version

0.2.1

License

MIT

Unpacked Size

17.3 kB

Total Files

21

Last publish

Collaborators

  • curiosbasant