Skip to content

A lightweight, intelligent storage library for JavaScript that makes state persistence as easy as modifying an object.

License

Notifications You must be signed in to change notification settings

54145a/145Storage2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

145 Storage 2

My localStorage is a Javascript Object

A lightweight, intelligent storage library for JavaScript that makes state persistence as easy as modifying an object.

🚀 Never as easy

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)

🗺 Roadmap

This project is still in development and should't be used in production.

  • JSON
  • LocalStorage
  • XML
  • IndexedDB
  • File System
  • SQL
  • First Release

not by ai

About

A lightweight, intelligent storage library for JavaScript that makes state persistence as easy as modifying an object.

Topics

Resources

License

Stars

Watchers

Forks