Gathering detailed insights and metrics for xaa
Gathering detailed insights and metrics for xaa
Gathering detailed insights and metrics for xaa
Gathering detailed insights and metrics for xaa
async/await/Promise helpers - delay, defer, timeout, each, map, filter
npm install xaa
Typescript
Module System
Node Version
NPM Version
TypeScript (97.22%)
JavaScript (2.78%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
1 Stars
84 Commits
1 Forks
2 Branches
2 Contributors
Updated on May 13, 2025
Latest Version
1.8.0
Package Id
xaa@1.8.0
Unpacked Size
33.99 kB
Size
9.08 kB
File Count
6
NPM Version
8.19.4
Node Version
16.20.2
Published on
Apr 08, 2025
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
1
20
async/await and Promise helpers.
github: https://github.com/jchip/xaa
npm i xaa
API references https://jchip.github.io/xaa/
Or just use your IDE for hint if it supports TypeScript and typedoc.
1import { timeout } from "xaa"; 2 3async function test() { 4 // will throw TimeoutError 5 await timeout(50, "took too long").run(xaa.delay(100)); 6 // will run the two functions and wait for them 7 await timeout(50, "oops") 8 .run([ 9 () => xaa.delay(10, 1), 10 () => xaa.delay(15, 2), 11 "some value", 12 Promise.resolve("more value") 13 ]) 14 .then(results => { 15 // results === [1, 2, "some value", "more value"] 16 }); 17}
1import { map } from xaa; 2 3async function test() { 4 return await map( 5 ["http://url1", "http://url2"], 6 async url => fetch(url), 7 { concurrency: 2 } 8 ); 9}
Licensed under the Apache License, Version 2.0.
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
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
no SAST tool detected
Details
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-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