New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redux-persist-indexeddb-storage

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-persist-indexeddb-storage

Redux Persist storage engine using Indexeddb

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
830
decreased by-81.27%
Maintainers
1
Weekly downloads
 
Created
Source

Redux persist engine using IndexedDB

npm version npm dependency npm downloads

This storage can be used only in React, this package use localForge, this uses localStorage in browsers with no IndexedDB or WebSQL support

Supported Browsers Platforms

localForage works in all modern browsers (IE 8 and above). Asynchronous storage is available in all browsers in bold, with localStorage fallback in parentheses.

  • Android Browser 2.1
  • Blackberry 7
  • Chrome 23
  • Chrome for Android 32
  • Firefox 18
  • Firefox for Android 25
  • Firefox OS 1.0
  • IE 10 (IE 8+ with localStorage)
  • IE Mobile 10
  • Opera 15 (Opera 10.5+ with localStorage)
  • Opera Mobile 11
  • Phonegap/Apache Cordova 1.2.0
  • Safari 3.1 (includes Mobile Safari)

Different browsers have different storage limits, so plan accordingly.

Install

npm install redux-persist-indexeddb-storage

or

yarn add redux-persist-indexeddb-storage

Usage

Simply use 'redux-persist-indexeddb-storage' as the storage option in the redux-persist config.

import storage from 'redux-persist-indexeddb-storage';
...

const persistConfig = {
  key: 'root',
  storage: storage('myDB'),
}

...

Keywords

FAQs

Package last updated on 04 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc