Distributed Event library to make the communication between NodeJS services easy.
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit behind shykes:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
.gitignore
.npmignore
LICENSE
README.md
TODOLIST
index.js
package.json

README.md

Stack.io library

Stack.io is a distributed Event Emitter library to communicate easily between different nodejs app (or services).

It implements the EventEmitter API to be used in an intuitive way.

It implements also an RPC (Remote Procedure Call) layer on top of the Events layer to expose JavaScript objects easily through the network.

Only Push/Pull and Pub/Sub models are implemented on top of Redis but the library has been implemented to be transport agnostic. So other transports will follow.

Features:

  • EventEmitter-like implementation
  • RPC, expose and call a Service from anywhere
  • Transport agnostic (multi-transport will follow)
  • Any Object or Events can ben called or exposed from the browser (using socket.io)

Feel free to checkout the examples and also the browser support examples (backend and frontend).

Let's start:

$ npm install stack.io
$ node
> var stackio = require('stack.io'),
>     io = stackio();