New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tm-fork-ipcbus

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tm-fork-ipcbus

Node fork inter process communication bus

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Weekly downloads
 
Created
Source

tm-fork-ipcbus

npm codecov

Node fork inter process communication bus. Allow communucation between parent and child processes in async request/response way.

Installation

npm install tm-fork-ipcbus

Test

  • npm test
  • npm run test: coverage Tests with a coverage report.

Available options

You can pass options with an options object to the constructor.

const IpcBus = require('tm-fork-ipcbus');

const ipc = new IpcBus(options);
  • requestTimeout Timeot in msecs for requests(default 5000 msecs).
  • process For parent process it should be a link to the child process. For child processes this option should be omitted.

Methods

  • request
  • response
  • event
  • task
  • message

Events.

Each bus instance is an event emitter with the following events:

  • request
  • response
  • event
  • task
  • message
  • invalidMessage

Keywords

FAQs

Package last updated on 03 Jul 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc