Plugin Frameworks
Build extensible applications where plugins run in isolated contexts. Each plugin registers its commands, and the host can call them by ID. Plugins can be loaded/unloaded dynamically without affecting the main application.
cmd-ipc is designed for applications that need reliable, type-safe communication across process boundaries.
Plugin Frameworks
Build extensible applications where plugins run in isolated contexts. Each plugin registers its commands, and the host can call them by ID. Plugins can be loaded/unloaded dynamically without affecting the main application.
Unit Testing
Decouple services without dependency injection. Commands provide natural boundaries for mocking—swap out command handlers in tests for predictable, isolated unit tests without complex DI containers.
Microservices
Share types across services in a monorepo. The HTTPChannel works well for backend-for-frontend patterns, API gateways, and edge functions calling origin servers.
Node.js Workers
Use worker_threads with the same API as Web Workers. The MessagePortChannel works identically in both environments, so code is portable between browser and Node.js.