Zum Inhalt springen

# 🔗 nodeBond – Local IPC Bridge for Node.js (no TCP, no dependencies)

Tired of using HTTP, WebSockets, or message queues just to make two local Node.js apps talk to each other?

Meet nodeBond — a lightweight, dependency-free IPC bridge that lets your Node.js apps exchange messages locally, fast and easily.

âś… Why nodeBond?

  • Zero dependencies — built on Node.js net
  • Fully local: no ports, no servers
  • Bi-directional messaging with .dual()
  • CLI-ready: npx nodebond send appX '{"hello": "world"}'
  • Cross-platform (Windows named pipes, Unix domain sockets)
  • Debug mode via NODEBOND_DEBUG=1
  • MIT licensed & open-source

📆 Install

npm install nodebond

⚡ Quick Example

appA.js

const bond = require('nodebond').dual('appA', 'appB');
bond.sendTo('appB', { msg: 'Hi from A' });

appB.js

const bond = require('nodebond').dual('appB', 'appA');
bond.on('data', msg => console.log('[appB]', msg));

đź”— Try the CLI:

npx nodebond send appA '{"ping": "from CLI"}'

Check it out on GitHub:
👉 github.com/Xzdes/nodeBond

Star it if you like it, or use it in your next CLI, automation tool, or desktop process bridge.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert