0.1.1 • Published 9 years ago

zmq-lvc v0.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

zmq-lvc

zmq-lvc is a super simple Latest Value Cache in node.js for ZeroMQ.

Usage

var lvc = require('zmq-lvc');

//Cache values from 'remote-server' and make it (cached) available at port 555
lvc("tcp://remote-server:1234", "tcp://*:555");

Notes

There is also a nice function exported by require('zmq-lvc').raw that will allow you to pass in any zmq pub/sub style socket OR any EventEmitter that sends a message event that has a topic and a message as the first argument.

The second argument for the raw method needs to implement send and a message event that conforms to the interface of the xpub message event.

0.1.1

9 years ago

0.1.0

9 years ago