eez.db

an awsome database module

Usage no npm install needed!

<script type="module">
  import eezDb from 'https://cdn.skypack.dev/eez.db';
</script>

README

eez.db


ez.db is a quick and "eez" way to store data in a database. it supports Schemas which allow you to easily store data without having to repeat creating objects to store in a json file.

Installation

npm install eez.db --save-dev

Usage

//to write info

const db = require("eez.db")
const blueprint = new db.Schema({ //allows you to create blueprints
"name": "Jake",
"age": 12 months
})

db.addinfo(blueprint)

//to get info

console.log(db.getinfo(blueprint)) //returns a promise so you can output it however you want

//Schemas can also be used as arrays

const data = new db.Schema([

])