One call shape. The store is still real.
Strata Storage gives web and Capacitor apps the same set() and get() calls. The adapter you choose determines where the value lives, and each platform needs its own read test.
Which layer are you checking?
Switching this view changes the URL for review. It does not change your saved appearance or write a value.
Keep the limit beside the claim.
These are package features, not website services. Each guide has the exact options and failure conditions.
Not the right tool when
Use localStorage directly if one web app is all you need. Use a database when several users must share records.
Seven web adapters
memory, localStorage, sessionStorage, indexedDB, cookies, cache and url share the same API. Browser defaults register six; register the URL adapter explicitly.
Four native adapters
preferences, secure, sqlite and filesystem need Capacitor registration and npx cap sync. A browser pass cannot prove a Keychain or SQLite read.
Protection you choose
AES-GCM encryption, compression, expiry and recovery features are opt-in. Encryption and compression use the async API; the integrity checksum detects accidental corruption, not deliberate tampering.
Choose a backend
Use one async API with 11 adapters across web and Capacitor. The web default registers six common adapters; URL and native adapters need explicit registration.
Use a synchronous call when it fits
getSync() and setSync() serve initial render and event handlers on sync-capable adapters.
Encrypt or compress by choice
AES-GCM through Web Crypto and size-thresholded compression are off until you configure them.
Expire a value
TTL can be absolute or sliding, with inspection and cleanup methods when you need them.
Observe and recover
Subscribe to same-origin cross-tab changes. Integrity checks, durable writes, mirrors and snapshots are separate opt-in recovery tools.
Bind your framework
React hooks, Vue composables and Angular providers are optional sub-path imports. The core still works without a provider.
Take the call to a device
Register Capacitor adapters for secure, preferences, SQLite and filesystem storage. Then run the same round-trip on iOS and Android devices.
CommonJS or older Node?
The package is ESM-only and requires Node 24.13 or later.
Cryptographic tamper-proofing from a checksum?
FNV-1a is not that. Use encryption for that job.
Native storage, tested only in a browser?
Verify the read path on a device.
Open this page