Micro IndexedDB
🔖 Description
💎 Micro JavaScript Library for implementation local 💾 Database IndexedDB that is durable and scalable. Include this library into your native JavaScript application with embed script type module or your React, Angular and others frameworks with npm module.
📐 How to work with this project
Native JavaScript
Copy "index.js" file into the main folder of your JavaScript application and import it with a simple script reference into other js file, for example "db.js".
;
NPM
npm i micro-indexeddb
;
Run
// Define and init DatabaseDb; // Save data into Databaseconst id = await Db; // Get all data from registeredconst result = await Db; // Update data with keypathawait Db; // Remove data with keypathawait Db;
📂 Code Scaffolding
/├── assets 🌈 # Images Sources.├── src 📦 # Main file library.| └── ...└── ...
⛽️ Review and Update Sependencies
For review and update all npm dependencies of this project you need install in global npm package "npm-check-updates" npm module.
# Install and Run $npm i -g npm-check-updates$ncu
License
Happy Code
Created with JavaScript, lot of ❤️ and a few ☕️