Gathering detailed insights and metrics for @async-generator/subject
Gathering detailed insights and metrics for @async-generator/subject
Gathering detailed insights and metrics for @async-generator/subject
Gathering detailed insights and metrics for @async-generator/subject
set of functions to create and manipulate async generators
npm install @async-generator/subject
Typescript
Module System
Node Version
NPM Version
67.6
Supply Chain
73.3
Quality
75.3
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
10,721
Last Day
28
Last Week
94
Last Month
391
Last Year
2,307
8 Stars
47 Commits
2 Forks
1 Watchers
15 Branches
1 Contributors
Updated on Jan 30, 2024
Minified
Minified + Gzipped
Latest Version
1.0.3
Package Id
@async-generator/subject@1.0.3
Unpacked Size
3.12 kB
Size
1.47 kB
File Count
5
NPM Version
lerna/3.16.4/node@v14.3.0+x64 (darwin)
Node Version
14.3.0
Cumulative downloads
Total Downloads
Last Day
180%
28
Compared to previous day
Last Week
-21.7%
94
Compared to previous week
Last Month
70%
391
Compared to previous month
Last Year
-6.2%
2,307
Compared to previous year
1
This is one of the most powerful functions, use it sparely.
> npm i @async-generator/subject
1const subject = require("@async-generator/subject"); 2 3const [iterator, feed, end] = subject(); 4 5sleep(100).then(async () => { 6 feed(1); 7 await sleep(100); 8 feed(2); 9 10 await sleep(100); 11 feed(3); 12 13 await sleep(100); 14 feed(4); 15 16 end(); 17}); 18 19for await (const item of iterator) { 20 console.log(item); // will log 1, 2, 3, 4 and end loop afterward 21} 22
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/24 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
license file not detected
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
69 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
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