Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
simple-nodejs-threader
Advanced tools
A basic package for multithreading (multiple processes) in NodeJs
To simplify node
build processes, used for better development experience or to spead up build pipelines, by utilizing node's multicore processing.
yarn add -D simple-nodejs-threader
npm install simple-nodejs-threader --save-dev
const manager = new ProcessManager("My task name");
const backendProcess = ProcessManager.promiseSpawn(
"yarn start:backend",
[processFlags],
{
stdio: "inherit",
shell: true,
}
);
const frontendProcess = ProcessManager.promiseSpawn(
"yarn start:frontend",
[processFlags],
{
stdio: "inherit",
shell: true,
}
);
manager.queue(frontendProcess, backendProcess);
await manager.complete();
Convert an object into Node friendly process flags.
Record<string, string>
]const processFlags = addFlags({ argOne: "hello", argTwo: "world" });
processFlags; // [--hello, --world]
FAQs
A simple collection of multi-threading helpers for NodeJs
The npm package simple-nodejs-threader receives a total of 267 weekly downloads. As such, simple-nodejs-threader popularity was classified as not popular.
We found that simple-nodejs-threader 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.