subscribe on zmq with node.js

I want to subscribe (to get only telemetry data) to a server with node.js (already installed). The following server-side information are given:

Distribute packets via zMQ:

class project_packet.server.mis.MISBaseHander(address, bind_to, framer, context=None, **kwargs)

Distribute TM s via zMQ:

class project_packet.server.mis.MISTMHandler(address, bind_to=None, buflen=65536, context=None, **kwargs)

Where the parameters are defined as follows:

  • address: host to connect to
  • bind_to: interface to bind to
  • framer: (project_packet.interfaces.IFramer) - framer to use
  • context: (zmq.Context or None) - zmq context

I have no clue how to do that. Does anyone have experience in this topic? Let me know if you need more information (I don't know which information are required).

Thank you!