
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
A typescript library for spawning and executing child processes.
A common implementation is the following:
import ray from 'r4y';
const response = await ray.execute('echo $WHATEVER');
console.log(response);
await ray.spawn('find . -type f | wc');
import ray from 'r4y';
ray.config.set({
debug: false,
spin: false,
spawn: {
log: {
stdout: 'trace',
stderr: 'error',
}
},
});
Parameter name | Parameter type | Parameter description |
---|---|---|
debug | boolean | Wheater or not to console log debugging information like child ID |
spin | boolean | Wheater or not to show a spinning console log |
spawn.log.stdout | LogMethod | How the child process should log its stdout |
spawn.log.stderr | LogMethod | How the child process should log its stderr |
type LogMethod = 'trace' | 'debug' | 'info' | 'warn' | 'error';
This repo try to follow the Unix philosophy.
r4y
stands for ray, like in Radioactive ray.
3xp
A typescript library for validating objects.
i0n
A typescript library for console logging.
w3i
A typescript library for handling configurations.
FAQs
A NodeJS library for managing child processes
We found that r4y demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.