{"repo":"KID-joker/stokado","free":true,"listed":false,"github":"https://github.com/KID-joker/stokado","clone":"git clone https://github.com/KID-joker/stokado.git","description":"Feature-rich proxy wrapper for browser storage with serialization, reactivity, expiration, and one-time values. Works with localStorage, sessionStorage, and async storages like localForage.","language":"TypeScript","stars":386,"topics":["broadcastchannel","browser-storage","cache","expiration","indexeddb","localforage","localstorage","proxy","reactivity","serialization"],"license":"MIT","category":"networking-infra","readme_excerpt":"English 中文 日本語 v2 document Stokado (/stəˈkɑːdoʊ/) is the Esperanto(an international auxiliary language) for storage , meaning that Stokado is also an auxiliary agent for storage . stokado can proxy objects of any storage -like, providing getter/setter syntax sugars, serialization, subscription listening, expiration setting, one-time value retrieval. The most feature-rich proxy wrapper for browser storage — serialization, reactivity, expiration, and one-time values in one library. Why stokado? Feature stokado store2 store.js lscache localForage idb-keyval @vueuse/useStorage --------- --------- -------- ---------- --------- ------------- ------------ -------------------- Proxy syntax sugar ✅ ❌ ❌ ❌ ❌ ❌ ❌ Type-safe serialization ✅ ◐ ◐ ◐ ◐ ◐ ◐ Same-tab reactive subscribe ✅ ❌ ❌ ❌ ❌ ❌ ✅ Cross-tab sync ✅ ❌ ❌ ❌ ❌ ❌ ✅ Expiration ✅ ✅ ❌ ✅ ❌ ❌ ❌ Disposable (one-time) ✅ ❌ ❌ ❌ ❌ ❌ ❌ Async backend (IndexedDB) ✅ ❌ ❌ ❌ ✅ ✅ ❌ Quota alert ✅ ❌ ❌ ❌ ❌ ❌ ❌ Framework-agnostic ✅ ✅ ✅ ✅ ✅ ✅ ❌ Zero dependencies ✅ ✅ ✅ ✅ ✅ ✅ ❌ Legend: ✅ native support; ◐ JSON-level only (primitives ok, loses Date/RegExp/Function/undefined types); ❌ not supported. When to use stokado - Type preservation — You need localStorage values to keep their JavaScript type (number, boolean, Date, RegExp, etc.) instead of everything becoming a string - Reactive storage — You need to listen for storage changes within the same tab (native storage event only fires cross-tab) - Auto-expiration — You need stored items to automatically expi","default_branch":null,"files":null,"tree":[],"storefront":"/r/KID-joker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KID-joker/stokado/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}