* feat: publish js libs to npm * changed license type * updated readme * added id * added exclusion for web and deno packages * update comment * updating env var
29 lines
1.4 KiB
Markdown
29 lines
1.4 KiB
Markdown
# @meshtastic/transport-deno
|
|
|
|
[](https://jsr.io/@meshtastic/transport-deno)
|
|
[](https://github.com/meshtastic/js/actions/workflows/ci.yml)
|
|
[](https://cla-assistant.io/meshtastic/meshtastic.js)
|
|
[](https://opencollective.com/meshtastic/)
|
|
[](https://vercel.com?utm_source=meshtastic&utm_campaign=oss)
|
|
|
|
## Overview
|
|
|
|
`@meshtastic/transport-deno` Provides TCP transport (Deno) for Meshtastic
|
|
devices. Installation instructions are avaliable at
|
|
[JSR](https://jsr.io/@meshtastic/transport-deno)
|
|
[NPM](https://www.npmjs.com/org/meshtastic/transport-deno)
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
import { MeshDevice } from "@meshtastic/core";
|
|
import { TransportDeno } from "@meshtastic/transport-deno";
|
|
|
|
const transport = await TransportDeno.create("10.10.0.57");
|
|
const device = new MeshDevice(transport);
|
|
```
|
|
|
|
## Stats
|
|
|
|

|