mirror of
https://github.com/meshtastic/web.git
synced 2026-07-31 06:56:28 -04:00
- Drop bogus `dts.isolatedDeclarations` field from SDK (not a real tsdown option; tsdown was silently ignoring it). - Make every package explicit about the perf-relevant flags rather than relying on defaults that drift between tsdown versions: target=esnext (no syntax downleveling), sourcemap=false, minify=false, treeshake=true, report=false, splitting=false. - Modest wall-clock wins: SDK 1020→752ms, transports ~720→~600ms. `isolatedDeclarations: true` in tsconfig would unlock the bigger oxc-dts fast path but the codebase isn't ID-clean yet — left as future work.
@meshtastic/transport-node
Overview
@meshtastic/transport-node Provides TCP transport (Node) for Meshtastic
devices. Installation instructions are available at
JSR
NPM
Usage
import { MeshDevice } from "@meshtastic/sdk";
import { TransportNode } from "@meshtastic/transport-node";
const transport = await TransportNode.create("10.10.0.57");
const device = new MeshDevice(transport);