
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
redux-persist-chrome-storage
Advanced tools
redux-persist storage adaptor for Chrome extensions storage API.
Storage adaptor for using Google Chrome's Storage API with redux-persist.
The main use case for this adaptor is when writing Chrome extensions and making use of either the Sync, Local or Managed StorageArea drivers to persist your redux state.
npm: npm install redux-persist-chrome-storage
yarn: yarn add redux-persist-chrome-storage
import { createStore } from 'redux'
import { persistStore, persistReducer } from 'redux-persist'
import createChromeStorage from 'redux-persist-chrome-storage'
import reducer from './reducers'
// Create a ChromeStorage instance using the chrome runtime and the Sync StorageArea.
const storage = createChromeStorage(window.chrome, 'sync');
const config = {
key: 'root',
storage,
};
const persistedReducer = persistReducer(config, reducer);
export default () => {
let store = createStore(persistedReducer)
let persistor = persistStore(store)
return { store, persistor };
}
FAQs
redux-persist storage adaptor for Chrome extensions storage API.
The npm package redux-persist-chrome-storage receives a total of 180 weekly downloads. As such, redux-persist-chrome-storage popularity was classified as not popular.
We found that redux-persist-chrome-storage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.