Strata Storage — other project

Strata Storage is a zero-dependency TypeScript storage engine that unifies localStorage, IndexedDB, cookies, the URL, native Keychain/Keystore, SQLite, and the filesystem behind one adapter-based API — get/set/remove/query/subscribe — that behaves identically whether the value lives in the browser, the URL, or the iOS Keychain. The runtime ships with zero dependencies; React, Vue, Angular, and @capacitor/core are optional peers. Power features — encryption, compression, TTL, a query engine, cross-tab sync, integrity checksums, durable writes, mirroring, and snapshot/restore disaster recovery — are all opt-in. The latest release brought the native iOS/Android backends to parity with the web tier, including SQLite multi-store and a file-per-key filesystem adapter. Published on npm under Apache-2.0 (v2.6.1) with a strict TypeScript 6 build and a fully green 140-test suite, plus a provider-free Zustand-style API.

Tech stack

  • TypeScript 6
  • CapacitorJS 8
  • Swift
  • Kotlin
  • Vitest
  • React
  • Vue
  • Angular

Key features

  • One API across 8+ storage backends
  • Zero runtime dependencies (framework peers optional)
  • Encryption, TTL, query engine & cross-tab sync
  • Native Keychain/Keystore, SQLite & filesystem adapters
  • Provider-free Zustand-style API
  • Snapshot/restore disaster recovery
  • 6 export entry points, tree-shakeable

Category: other · Status: completed · Started: 2024-06 · Through: Present · Client: Open Source

Links: https://npmjs.com/package/strata-storage · https://github.com/aoneahsan

Tags: npm · package · storage · capacitor · cross-platform · typescript · zero-dependencies


Contact

Website: https://zaions.com
Email: aoneahsan@gmail.com
GitHub: github.com/aoneahsan
LinkedIn: linkedin.com/in/aoneahsan
RSS Feed: https://zaions.com/feed.xml
Sitemap: https://zaions.com/sitemap.xml
LLM Index: https://zaions.com/llms.txt