tuanpmt / react-native-mqttjs Goto Github PK
View Code? Open in Web Editor NEWPure javascript Websocket MQTT client library for react-native
Pure javascript Websocket MQTT client library for react-native
Please make it available on NPM
bash-3.2$ npm i react-native-mqttjs --save
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/5.2.0/bin/node" "/usr/local/Cellar/node/5.2.0/bin/npm" "i" "react-native-mqttjs" "--save"
npm ERR! node v5.2.0
npm ERR! npm v4.0.3
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/react-native-mqttjs
npm ERR! 404
npm ERR! 404 'react-native-mqttjs' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/gp/Bikeninja/projects/workspace/gp/NavigatorSample/npm-debug.log
I added this library using yarn add tuanpmt/react-native-mqttjs
.
I had error EventEmitter module does not exist in the module map or in these directories: some path/react-native-mqttjs/mqtt.js
when I'd run app.
suports ssl or tls?
Hey I came here from the README at https://github.com/tuanpmt/react-native-mqtt which has now changed saying to use https://github.com/eclipse/paho.mqtt.javascript
I tried playing around with react-native-mqttjs and paho.mqtt.javascript but can't get either working.
react-native-mqttjs doesn't work due to EventEmitter module.exports I think and paho.mqtt.javascript due to it not being a node module.
Do you have any examples of getting either of these to work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.