1.0.5 • Published 4 years ago
nodejs-starter-generator v1.0.5
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-new
To add new functionality to existing project, go to the folder project and run:
generator-add
MQTT
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