Javascript (Node.js)
Install nep-js library for node.js using npm
Publisher simple example
Import nep-js library
Create a new node and a publisher instance
Then send messages using the publish function
Subscriber simple example
Import nep-js library and create a new nep node
Create a callback, which will be executed each time a new message arrives
Create a subscriber instance and define the respective callback
Last updated