Minimally-touched indexed database library structured after WebStorage.
const db = await Indexed.open("testdb");
await db.set("auth", {
name: "John Doe",
email: "johndoe@gmail.com"
});
const name = await db.get("auth/name");
const email = await db.get("auth/email");
Manually managing an indexed database is complex and takes a lot of time to implement.
In Indexed, you can manage an indexed database with ease.
Forget object stores, transactions, or implementing event listeners. With Indexed, you can easily write, read, and delete a data in just a single trigger.
Since Indexed uses client-side features (indexedDB and cookies), it is highly recommended to use CDN.
<script src="https://cdn.jsdelivr.net/gh/creuserr/indexed@main/dist/v2/indexed.min.js"></script>