npm install zmq-zap

ZeroMQ Authentication Protocol (ZAP) for node.js
_Technically this module is not dependant on ØMQ (ZeroMQ) and could be used on it's own if you really wanted to. That being said, I suspect most, if not all, use cases will involve ØMQ._
- libsodium _Only required when using the CURVE mechanism_
- ØMQ 4.x
- ØMQ node bindings (zmq) _You should be able to use any node bindings for ØMQ that support the appropriate socket options, but that's the one I use and recommend._
- z85 _Only required when using the CURVE mechanism. This is used to encode/decode the public/private key pairs._
$ npm install zmq-zap
See examples.
This may help, but no promises:
$ DEBUG=zmq-zap:* node ...
Install dev dependencies:
$ npm install
Test:
$ npm test
With code coverage info (using istanbul):
$ npm install -g istanbul
$ make test-cov
_A full code coverage report can be found in coverage/lcov-report/index.html after the tests complete_