peertalk

1.0.2 • Public • Published

node-peertalk

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.

Install

npm install [-g] peertalk

Prerequisites: usbmux

Module Usage

  • 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 });
});
 

Credits

Readme

Keywords

Package Sidebar

Install

npm i peertalk

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • justin97530