Unofficial PeerTalk module for Node.js
This module allows you to use PeerTalk by rsms to communicate with an iOS device through USB, more information is available on the PeerTalk GitHub repository.
It uses ES6 syntax, which makes it incompatible with older versions of Node.js.
npm install [-g] peertalk
Prerequisites: usbmux
- Port {integer}
- Options {object} - Options for node-usbmux
const PeerTalk = require("peertalk"),
peertalk = new PeerTalk();
peertalk.then((device) => {
// device.emit("send", "PeerTalk message here!");
// device.on("data", (data) => { // do something });
});
- DeMille, for creating node-usbmux
- rsms, for creating PeerTalk
- davidahouse, for creating peertalk-python, which was used as reference for creating this project. ...and everyone that had created the modules this project utilizes.