Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

z-ipc

lnik801l26MIT0.0.8TypeScript support: included

Z-IPC is an easy-to-use, extensible and fully type-safe IPC solution for JavaScript environments.

ipc, typescript, worker_threads, electron, cross-process, communication-library

readme

z-ipc 🍺🦖

Z-IPC is an easy-to-use, extensible and fully type-safe IPC solution for JavaScript environments.

[npm]

Key features

  • Easy-to-use: Z-IPC supports RPC and Pub/Sub communication and provides a simple API for both.
  • Extensible: Communication APIs are built on top of a generic transport layer, which can be extended to support any communication protocol.
  • Battery-included: Z-IPC comes with a set of built-in transports for common use cases, such as worker threads and electron.
  • Type-safe: Clients and servers strictly follow typed communication protocols, which can be inferred from the implementation or defined explicitly.
  • Lightweight: The core library is small and uses minimal dependencies. Transport adapters are split into separate modules and can be used on demand.

Examples