@wxn0brp/db-storage-web
v0.0.5
Published
ValtheraDB Browser Storage
Readme
ValtheraDB Web Storage
This plugin provides web storage (localStorage/sessionStorage) operations for ValtheraDB.
Installation
npm install @wxn0brp/db-storage-webUsage
import { createWebStorageValthera } from "@wxn0brp/db-storage-web";
// Similar to createMemoryValthera, but persists data in web storage
const db = createWebStorageValthera("my-db", {
users: [
{ id: 1, name: "Alice" },
{ id: 2, name: "Mieszko" }
]
});