Storage

Provider-agnostic key-value storage for React. Adapters for localStorage, sessionStorage, cookies, and in-memory. SSR-safe with automatic hydration.

npm install @allem-sdk/storage
StorageProvider

Context provider with adapter-based storage backends

useStorage

Access the storage adapter from any component

useStorageItem

Read and write a single key with automatic reactivity