SyncStorage

JSON →
library 0.4.2 ·javascript
verified Jun 7, 2026

SyncStorage wraps React Native's asynchronous AsyncStorage to provide a synchronous API for reading and writing key-value pairs. Version 0.4.2 (stable, less frequent releases) loads all stored data into memory on init, enabling synchronous get/set/remove operations thereafter. It supports any value type (via JSON serialization) and returns promises for post-verification. Unlike raw AsyncStorage which requires async/await, SyncStorage simplifies simple data access in synchronous contexts but requires careful memory management for large datasets.