Gathering detailed insights and metrics for wConsequence
Gathering detailed insights and metrics for wConsequence
Advanced synchronization mechanism. Asynchronous routines may use Consequence to wrap postponed result, what allows classify callback for such routines as output, not input, what improves analyzability of a program. Consequence may be used to make a queue for mutually exclusive access to a resource.
npm install wConsequence
Typescript
Module System
Node Version
NPM Version
27.1
Supply Chain
23.6
Quality
70.7
Maintenance
100
Vulnerability
97
License
JavaScript (100%)
Total Downloads
3,489,554
Last Day
12
Last Week
391
Last Month
3,034
Last Year
48,573
2 Stars
2,131 Commits
5 Forks
3 Watching
2 Branches
6 Contributors
Latest Version
0.4.520
Package Id
wConsequence@0.4.520
Unpacked Size
220.50 kB
Size
34.88 kB
File Count
8
NPM Version
8.1.2
Node Version
16.13.1
Cumulative downloads
Total Downloads
Last day
-89.1%
12
Compared to previous day
Last week
-64.9%
391
Compared to previous week
Last month
17.1%
3,034
Compared to previous month
Last year
-92.8%
48,573
Compared to previous year
Advanced synchronization mechanism. Asynchronous routines may use Consequence to wrap postponed result, what allows classify callback for such routines as output, not input, what improves analyzability of a program. Consequence may be used to make a queue for mutually exclusive access to a resource.
Algorithmically speaking Consequence is 2 queues ( FIFO ) and a customizable arbitrating algorithm. The first queue contains available resources, the second queue includes competitors for this resources. At any specific moment, one or another queue may be empty or full. Arbitrating algorithm makes resource available for a competitor as soon as possible. There are 2 kinds of resource: regular and erroneous. Unlike Promise, Consequence is much more customizable and can solve engineering problem which Promise cant. But have in mind with great power great responsibility comes. Consequence can coexist and interact with a Promise, getting fulfillment/rejection of a Promise or fulfilling it. Use Consequence to get more flexibility and improve readability of asynchronous aspect of your application.
git clone https://github.com/Wandalen/wConsequence
cd wConsequence
will .npm.install
node sample/trivial/Sample.s
Make sure you have utility willbe
installed. To install willbe: npm i -g willbe@stable
. Willbe is required to build of the module.
npm add 'wConsequence@stable'
Willbe
is not required to use the module in your project as submodule.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-27
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