My localStorage is a Javascript Object
A lightweight, intelligent storage library for JavaScript that makes state persistence as easy as modifying an object.
import { WebStorageItemStorage } from "./storage.js";
const settings = new WebStorageItemStorage("settings", localStorage).data;
settings.count = settings.count ? settings.count + 1 : 1;
console.info("Count:", settings.count);See test.js for more examples. (Working in progress)
This project is still in development and should't be used in production.
- JSON
- LocalStorage
- XML
- IndexedDB
- File System
- SQL
- First Release
