
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
sendmessage
Advanced tools
Send a cross process message if message channel is connected. Avoid channel closed error throw out.
npm install sendmessage --save
import { fork } from 'node:child_process';
import { sendmessage } from 'sendmessage';
const worker = fork('./worker.js');
sendmessage(worker, { hi: 'this is a message to worker' });
import { sendmessage } from 'sendmessage';
sendmessage(process, { hello: 'this is a message to master' });
Send a cross process message.
If a process is not child process, this will just call process.emit('message', message) instead.
sendmessage(process, { hello: 'this is a message to master' });
You can switch to process.emit('message', message) using process.env.SENDMESSAGE_ONE_PROCESS
Made with contributors-img.
FAQs
Send a cross process message if message channel is connected.
The npm package sendmessage receives a total of 14,786 weekly downloads. As such, sendmessage popularity was classified as popular.
We found that sendmessage 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.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.