event-swarm
Cross-machine events made simple.
Easily send events across machines on the same network, built using airswarm for network discovery and simple TCP sockets.
Example:
; // On first machine...let swarm = channel: 'chat' ; swarm; // On second machine...let swarm = channel: 'chat' ; swarm;
Features:
- Built on airswarm.
- Channels allow for multiple swarms to exist on the same network.
- Built-in events for connection and disconnection.
- Broadcast events or send events to specific peers.
Contribute
- Fork it
npm i
gulp watch
- Make changes and write tests.
- Send pull request! 😎
License:
MIT