Add iopa
to your Node.js projectnpm install iopa --save
Create a simple Hello World applicationconst iopa = require('iopa')var app = new iopa.App()app.use(function (context, next) { context.log.info("HELLO WORLD" + context.toString()); return next()});var demo = app.build();var context = app.createContext(); // typically done within an HTTP, CoAP or MQTT servercontext.using(demo); // the using automatically disposes of the context"