Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
advance-child-pool
Advanced tools
Advance Node.js child process pool, support multitype child process, error handing
全功能Node.js子进程管理器
支持以下强大的功能:
主进程配置
let childProcess = require('child-process-manager').childManager;
const textFilePath = path.join(__dirname, 'text.js');
const fileFilePath = path.join(__dirname, 'file.js');
const errorFilePath = path.join(__dirname, 'error.js');
// 注册任务
childProcess.registerTask('text', textFilePath);
childProcess.registerTask('file', fileFilePath);
childProcess.registerTask('error', errorFilePath);
// 启动子进程
childProcess.childStartUp();
childProcess.sendData('text', {
data: 'helloworld'
}).then((res) => {
// response from child_process
console.log(res);
}).catch(err => {
// error from child_process
console.log(err);
});
子进程配置
let childTemplate = require('child-process-manager').childWorker;
childTemplate((data, done) => {
done({
type: 'file',
msg: data.msg,
index: data.index
})
});
FAQs
Advance Node.js child process pool, support multitype child process, error handing
The npm package advance-child-pool receives a total of 3 weekly downloads. As such, advance-child-pool popularity was classified as not popular.
We found that advance-child-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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.