A redux-storage engine that persists the Redux state tree to localforage (IndexedDB, WebSQL, or localStorage) with optional JSON replacer/reviver for custom serialization. Current stable version is 2.0.0. It depends on redux-storage >3.0.0 and localforage. Key differentiator: provides a localStorage-like API for offline storage in browsers, with configurable drivers and no need for a server. Release cadence is low; last release was in 2016.
npm install redux-storage-engine-localforageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and create a localforage-based storage engine with optional driver configuration.
Use redux-persist with localforage adapter: redux-persist-localforage.
Explicitly set driver order or catch errors during engine creation.
Test replacer/reviver thoroughly; avoid modifying top-level keys used by redux-storage.
Use build tools like webpack with babel-polyfill or target modern browsers.
Use 'const createEngine = require('redux-storage-engine-localforage').default'Install redux-storage: npm install redux-storage
Run 'npm install localforage' and import it before using the engine