Socket
Socket
Sign inDemoInstall

zmq-zap

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    zmq-zap

ZeroMQ Authentication Protocol


Version published
Weekly downloads
256
increased by12.78%
Maintainers
1
Install size
113 kB
Created
Weekly downloads
 

Readme

Source

Build Status Coverage Status

zmq-zap

ZeroMQ Authentication Protocol (ZAP) for node.js

This is a work in progress!

I'm actively working on the API and may need to make breaking changes often. Feel free to play with it, make suggestions, pull requests, etc., but keep in mind that it's not ready for production use.

Prerequisites

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.

Intallation

$ npm install zmq-zap

Examples

See examples.

Debugging

This may help, but no promises:

$ DEBUG=zmq-zap:* node ...

Running tests

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

Keywords

FAQs

Last updated on 11 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc