Installations
npm install @farolan/redux-batch-enhancer
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
10.20.1
NPM Version
6.14.4
Score
68.5
Supply Chain
71.4
Quality
75.2
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
abc123s
Download Statistics
Total Downloads
245
Last Day
1
Last Week
1
Last Month
9
Last Year
61
GitHub Statistics
25 Stars
11 Commits
8 Forks
4 Watching
1 Branches
3 Contributors
Package Meta Information
Latest Version
0.1.4
Package Id
@farolan/redux-batch-enhancer@0.1.4
Unpacked Size
5.04 kB
Size
1.98 kB
File Count
4
NPM Version
6.14.4
Node Version
10.20.1
Total Downloads
Cumulative downloads
Total Downloads
245
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
350%
9
Compared to previous month
Last year
-29.1%
61
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
3
redux-batch-enhancer
Store enhancer and action creator that enables batching subscriber notifications for an array of actions, including complex actions (e.g. thunks) enabled by middleware. Inspired by redux-batched-actions and redux-batched-subscribe.
Installation
npm install --save redux-batch-enhancer
Then to enable, apply the provided store enhancer (batchStoreEnhancer
) and middleware (batchMiddleware
):
1import { createStore } from 'redux' 2import { batchStoreEnhancer, batchMiddleware } from 'redux-batch-enhancer' 3 4const store = createStore( 5 reducer, 6 compose( 7 applyMiddleware(batchMiddleware, thunk, logger, perflogger), 8 batchStoreEnhancer, 9 ) 10);
Note: batchStoreEnhancer
overwrites dispatch and subscribe on the original redux store, and thus must be applied before any middleware or store enhancers that depend on these two methods.
Example Usage
1import { batchActions } from 'redux-batch-enhancer' 2 3dispatch(batchActions([{ type: 'vanillaAction' }, createThunkAction()]));
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 2/10 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 3 are checked with a SAST tool
Score
2.9
/10
Last Scanned on 2024-12-23
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