Gathering detailed insights and metrics for redux-promise-middleware
Gathering detailed insights and metrics for redux-promise-middleware
Gathering detailed insights and metrics for redux-promise-middleware
Gathering detailed insights and metrics for redux-promise-middleware
redux-promise
FSA-compliant promise middleware for Redux.
redux-promise-middleware-actions
Redux action creator for making async actions with redux-promise-middleware
@types/redux-promise-middleware
Stub TypeScript definitions entry for redux-promise-middleware, which provides its own types definitions
@sensenet/redux-promise-middleware
Redux middleware for async sensenet functions
Enables simple, yet robust handling of async action creators in Redux
npm install redux-promise-middleware
Typescript
Module System
Node Version
NPM Version
98.7
Supply Chain
92.9
Quality
76.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
34,575,974
Last Day
2,406
Last Week
86,749
Last Month
380,330
Last Year
4,307,621
MIT License
1,980 Stars
384 Commits
186 Forks
16 Watchers
2 Branches
46 Contributors
Updated on Jun 10, 2025
Minified
Minified + Gzipped
Latest Version
6.2.0
Package Id
redux-promise-middleware@6.2.0
Unpacked Size
61.05 kB
Size
11.68 kB
File Count
14
NPM Version
8.5.2
Node Version
16.14.0
Published on
Dec 27, 2023
Cumulative downloads
Total Downloads
Last Day
-15.4%
2,406
Compared to previous day
Last Week
-4.4%
86,749
Compared to previous week
Last Month
4.1%
380,330
Compared to previous month
Last Year
-7.2%
4,307,621
Compared to previous year
Redux Promise Middleware enables simple, yet robust handling of async action creators in Redux.
1const asyncAction = () => ({ 2 type: 'PROMISE', 3 payload: new Promise(...), 4})
Given a single action with an async payload, the middleware transforms the action to a separate pending action and a separate fulfilled/rejected action, representing the states of the async action.
The middleware can be combined with Redux Thunk to chain action creators.
1const secondAction = (data) => ({ 2 type: 'SECOND', 3 payload: {...}, 4}) 5 6const firstAction = () => { 7 return (dispatch) => { 8 const response = dispatch({ 9 type: 'FIRST', 10 payload: new Promise(...), 11 }) 12 13 response.then((data) => { 14 dispatch(secondAction(data)) 15 }) 16 } 17}
Heads Up: Version 6 includes some breaking changes. Check the upgrading guide for help.
For bug reports and feature requests, file an issue on GitHub.
For help, ask a question on StackOverflow.
For older versions:
Please reach out to us if you have any questions or comments.
Patrick Burtchaell (pburtchaell):
Thomas Hudspith-Tatham (tomatau):
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 11/22 approved changesets -- score normalized to 5
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
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
92 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-09
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