JSPM

  • Created
  • Published
  • Downloads 272
  • Score
    100M100P100Q84708F
  • License MIT

Jsonjsdb database

Package Exports

  • jsonjsdb
  • jsonjsdb/with_crypto

Readme

Jsonjsdb

A client side db to load and query json js file.

Basic usage

Include the lib in the html head :

<script src="/dist/Jsonjsdb.min.js"></script>

or as an es module :

import Jsonjsdb from "jsonjsdb"

Use it in your js script :

const db = new Jsonjsdb()
db.init().then(() => {
  const users = db.get_all("user")
  console.log(users)
})

Contributing

Contributions to Jsonjsdb are always welcome. Whether it's a bug report, new feature, or improvement to existing features, your input is highly appreciated.

License

Jsonjsdb is licensed under the MIT License. See LICENSE for more information.