mosca : MQTT broker as a module. You can installing mosca npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install mosca $ sudo npm install -g mosca
If want to update the mosca package execute the command as below,
$ sudo npm update mosca
Update package globally,
$ npm install -g mosca
$ sudo git clone https://github.com/rektide/mosca.git
$ sudo npm install -g ./mosca
mosca@2.7.0 /usr/lib/node_modules/mosca
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mosca
| Package Name | mosca |
| Version | 2.7.0 |
| Description | MQTT broker as a module |
| Released Date | 2017-10-30T10:34:21.832Z |
| Published by | matteo.collina |
| How to Learn | https://www.npmjs.com/package/mosca/tutorial |