1.0.2 • Published 8 years ago

peertalk v1.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

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