Web Persist is a lightweight, framework-agnostic persistence layer that provides a simple and predictable way to store and retrieve data in the browser using IndexedDB. It is designed to be deliberately minimal - handling only storage - while giving developers full control over how and when data is persisted. By separating persistence from other concerns, Web Persist enables clean architecture, explicit data flow, and a consistent developer experience accross applications.
This framework is ideal for developers who want: * A simple, reliable way to persist data in the browser * Full control over when and how data is stored * A clean separation between application logic and storage * Support for both structured data (JSON) and binary data (files/blobs) * A consistent and predictable API for storing, fetching, and deleting data
In this guide you'll learn how to: 1. Store files and JSON data using a simple, unified API 2. Retrieve persisted data reliably and handle missing records 3. Delete records safely and predictably 4. Work with optional parameters such as file names and storage options 5. Integrate Web Persist with other frameworks using callback-based flows
Whether you're creating experimental apps, prototype UIs, or full-featured web systems, Web Persist provides the basic foundation of browser based persistence for your web applications.
You can instantiate the framework by including the following in your html source.
<script type = "module" src = "https://www.javaika.com/frame/web-persist/[version]/api.js"></script>
Replace '[version]' with the framework version you intend to use (i.e. 1.0.0).