
Stop writing localStorage boilerplate — I built Storionjs
Tired of writing the same localStorage.getItem , JSON.parse , and manual save logic every time you need a bit of client-side data? Storion.js turns your browser storage into a small, easy-to-use database—with tables, simple queries, and a clear API. No backend, no setup. Just install and go. What is Storion.js? Storion is a framework-agnostic, in-browser database that works on top of localStorage , sessionStorage , or IndexedDB . Instead of raw key/value strings, you get: Tables & schemas — Define tables with columns ( int , float , boolean , string , json ) CRUD API — insert , fetch , update , delete with a straightforward API Query engine — Filter, sort, and paginate with a simple JSON query object Subscriptions — React to data changes with db.subscribe() so your UI stays in sync Cross-context sync — Works across tabs, extensions, and background scripts You can use it with React, Vue, Angular, Svelte, or plain JavaScript. Install & create your first database Install the package: npm
Continue reading on Dev.to Webdev
Opens in a new tab


