Gathering detailed insights and metrics for redux-persistence-engine-localstorage
Gathering detailed insights and metrics for redux-persistence-engine-localstorage
Gathering detailed insights and metrics for redux-persistence-engine-localstorage
Gathering detailed insights and metrics for redux-persistence-engine-localstorage
LocalStorage engine for redux-persistence
npm install redux-persistence-engine-localstorage
Typescript
Module System
Node Version
NPM Version
77.4
Supply Chain
77.7
Quality
74
Maintenance
100
Vulnerability
98.6
License
TypeScript (100%)
Total Downloads
121,274
Last Day
597
Last Week
5,793
Last Month
22,769
Last Year
44,014
NOASSERTION License
1 Stars
4 Commits
3 Forks
17 Watchers
14 Branches
13 Contributors
Updated on Nov 20, 2021
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
redux-persistence-engine-localstorage@1.0.0
Size
2.42 kB
NPM Version
6.10.2
Node Version
10.16.1
Published on
Aug 06, 2019
Cumulative downloads
Total Downloads
Last Day
12.9%
597
Compared to previous day
Last Week
-0.1%
5,793
Compared to previous week
Last Month
137.4%
22,769
Compared to previous month
Last Year
61.1%
44,014
Compared to previous year
4
6
npm install --save redux-persistence-engine-localstorage
Stores everything inside window.localStorage
.
1import createEngine from 'redux-persistence-engine-localstorage' 2const engine = createEngine('my-save-key')
You can customize the saving and loading process by providing a replacer
and/or a reviver
.
1import createEngine from 'redux-storage-engine-localstorage'; 2 3function replacer (key, value) { 4 if (typeof value === 'string') { 5 return 'foo'; 6 } 7 return value; 8} 9 10function reviver (key, value) { 11 if (key === 'foo') { 12 return 'bar'; 13 } 14 return value; 15}); 16 17const engine = createEngine('my-save-key', replacer, reviver);
Warning: localStorage
does not expose a async API and every save/load
operation will block the JS thread!
Warning: This library only works on browsers that support Promises (IE11 or better)
Warning: If the browser doest not support LocalStorage, that should be handled before passing the engine to redux-persistence
(see test)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/2 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
60 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-19
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More