{"library":"sync-storage","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.4.2","tags":["javascript","AsyncStorage","React","Native","SyncStorage","Storage"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install sync-storage","imports":["import SyncStorage from 'sync-storage'","await SyncStorage.init()","SyncStorage.getAllKeys()","const SyncStorage = require('sync-storage')"]},{"cmd":"yarn add sync-storage","imports":[]},{"cmd":"pnpm add sync-storage","imports":[]}],"homepage":"https://github.com/raphaelpor/SyncStorage#readme","github":"https://github.com/raphaelpor/SyncStorage","docs":null,"changelog":null,"pypi":null,"npm":"sync-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}