nodejs-starter-generator
v1.0.5
Published
Node-js code generator
Readme
SCRIPT GENERATOR NODE-JS
Script generator for node-js
INSTALATION
npm i -g nodejs-starter-generator
USAGE
Once you have installed the packet, to create a new project run and follow the instructions:
generator-newTo add new functionality to existing project, go to the folder project and run:
generator-addMQTT
This template install the mqtt-extension library and include the initialization on index.js
- To configure the MQTT broker options modify the .env file
- By default the script connect to the broker and subcribe to the topics defined in topics of index.js
For further information visit the mqtt-extension package website
