Gathering detailed insights and metrics for fusion-rpc-redux
Gathering detailed insights and metrics for fusion-rpc-redux
Gathering detailed insights and metrics for fusion-rpc-redux
Gathering detailed insights and metrics for fusion-rpc-redux
npm install fusion-rpc-redux
Typescript
Module System
Min. Node Version
Node Version
NPM Version
74.9
Supply Chain
90.5
Quality
75.6
Maintenance
100
Vulnerability
100
License
2022-10-25 "autumn-hill"
Updated on Oct 26, 2022
2022-10-14 "autumn-river"
Updated on Oct 26, 2022
2022-10-13 "gaudy-mountain"
Updated on Oct 26, 2022
2022-10-04 "dry-heart"
Updated on Oct 26, 2022
2022-09-06 "lively-meadow"
Updated on Oct 26, 2022
2022-08-31 "bitter-feather"
Updated on Oct 26, 2022
TypeScript (56.52%)
JavaScript (42.01%)
Shell (1.28%)
HTML (0.11%)
Starlark (0.06%)
Dockerfile (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1,551 Stars
5,352 Commits
137 Forks
27 Watchers
20 Branches
94 Contributors
Updated on Jul 11, 2025
Latest Version
2.4.1
Package Id
fusion-rpc-redux@2.4.1
Unpacked Size
282.76 kB
Size
51.76 kB
File Count
32
NPM Version
6.14.15
Node Version
16.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A collection of helper functions for working with Redux and RPC together
If using RPC from React components, you should use fusion-plugin-rpc-redux-react
instead of this package.
1yarn add fusion-rpc-redux
createRPCActions
1import {createRPCActions} from 'fusion-rpc-redux';
Creates start, success and failure actions for an RPC method name. Basically, assuming a RPC method named myMethod
, it lets you write start({foo: 123})
instead of {type: 'MY_METHOD_START', payload: {foo: 123}}
1const actions: Actions = createRPCActions((rpcId: string));
rpcId: string
- The RPC method nameactions: {start: (arg:T) => Action<T>, success: (arg:T) => Action<T>, failure: (T) => Action<T>}
1type Action<T> = { 2 type: string, 3 payload: T, 4};
For example, if rpcId
is doSomething
, createRPCActions
generates the actions DO_SOMETHING_START
, DO_SOMETHING_SUCCESS
, and DO_SOMETHING_FAILURE
.
createRPCReducer
1import {createRPCReducer} from 'fusion-rpc-redux';
Creates a reducer that is composed of reducers that respond to start
, success
and failure
actions.
1const reducer: Reducer = createRPCReducer(rpcId: string, {
2 start: ?Reducer,
3 success: ?Reducer,
4 failure: ?Reducer,
5}, defaultValue: any);
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/30 approved changesets -- 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
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
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