[node.js] npm, mqtt, mosca

"npm install module --save" not work

npm install *module* --save 没有生成 package.json 文件? 须要在项目目录初始化 npm init 后使用 若是已经安装了一些 module,可使用 npm install --savegit

mosca & mqtt.js

mqtt.js 使用 websocket 协议github

  • server

https://github.com/mcollina/mosca/wiki/MQTT-over-Websocketsweb

  • client

https://github.com/mqttjs/MQTT.js#browserifyhttps://github.com/mqttjs/MQTT.js#browserifynpm

相关文章
相关标签/搜索