Easy DB for browser

Lite&easy database for browsers based on localStorage, powered by easy-db-code
.
Not create any database structure, just use it.
Include types for TypeScript.
API
import easyDB from "easy-db-browser";
const { insert, select, update, remove } = easyDB();
const idOfRow = await insert("collection1", { myRow: 1 });
const allCollection1 = await select("collection1");
const myRow1 = await select("collection1", idOfRow);
await update("collection1", idOfRow, { ...myRow1, update: 1 });
await remove("collection1", idOfRow);
Example of use
import easyDB from "easy-db-browser";
const { select, update } = easyDB();
await update("myAppName", "nickname", nickname);
const nickname = await select("myAppName", "nickname");