
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@types/tiny-async-pool
Advanced tools
TypeScript definitions for tiny-async-pool
npm install --save @types/tiny-async-pool
This package contains type definitions for tiny-async-pool (https://github.com/rxaviers/async-pool#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tiny-async-pool.
/**
* This declaration specifies that the function is the exported object from the file
*/
export = asyncPool;
/**
* Runs multiple promise-returning & async functions in a limited concurrency pool.
* It rejects immediately as soon as one of the promises rejects.
* It resolves when all the promises completes.
* It calls the iterator function as soon as possible (under concurrency limit).
*
* @param poolLimit The pool limit number (>= 1).
* @param array Input array.
* @param iteratorFn Iterator function that takes two arguments (array item and the array itself).
* The iterator function should either return a promise or be an async function.
*
* @template IN Type of the input array
* @template OUT Type of the resolves of the promises
*/
declare function asyncPool<IN, OUT>(
poolLimit: number,
array: readonly IN[],
iteratorFn: (generator: IN) => Promise<OUT>,
): AsyncIterableIterator<OUT>;
These definitions were written by Karl-Philipp Wulfert.
FAQs
TypeScript definitions for tiny-async-pool
The npm package @types/tiny-async-pool receives a total of 103,146 weekly downloads. As such, @types/tiny-async-pool popularity was classified as popular.
We found that @types/tiny-async-pool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.