1.2.1 • Published 1 year ago

@espruino-tools/peer v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

version build deployment

@espruino-tools/peer

This package enables easy peer to peer communication between 2 devices, sending data or video between the devices.

Features

  • Send data between 2 devices.
  • Send video between 2 devices.
  • QR code for easy phone scan connection.

On top of these features this package features a well designed interface for QR scanning.

Installation

CDN

We use unpkg to allow for CDN usage within the script tags it can be accessed like so.

<script src="https://unpkg.com/@espruino-tools/peer@latest/min/main.min.js"></script>

NPM

run npm i @espruino-tools/peer in the root of your node project.

This can then be utlised by:

import { Host } from "@espruino-tools/peer";

let p = new Host();

p.connectData((data) => {
  console.log(data);
});
1.2.1

1 year ago

1.2.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago