PExchange
PExchange is a promise based information exchange for Node. It allows different processes to communicate with each other.
Benefits
PExchange provides you an extremely easy to use API, that can be extended to make applications written in different languages talk to each other. It just works, there's no complicated setup or stuff, You just run it on a port or a unix socket and connect your programs to it.
You can easily set it up to send emails and other stuff from a nodejs thread while serving your non-blocking website from PHP or HackLang or any other language of your choice.
Hello World
// Server.js"use strict";var PExchange = ;var Server = '/tmp/pexchange.sock'; Server;
// Client.jsvar PExchange = ;var Client = '/tmp/pexchange.sock'; Client;
API
enum JobType:string Request Reply Broadcasttype ServerJob = type ClientJob = Server: NetServer Connections: array<NetSocket>
License
This project is licensed under the terms of MIT License. See the License file for more info.