Files
web/packages/transport-node-serial
Dan Ditomaso 56c983c3d0 chore(build): tighten tsdown perf flags across SDK + transport packages
- 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.
2026-04-26 21:19:52 -04:00
..
2025-08-14 21:56:34 -04:00
2025-08-31 16:04:34 -04:00

@meshtastic/transport-node-serial

JSR CI CLA assistant Fiscal Contributors Vercel

Overview

@meshtastic/transport-noden-node Provides Serial transport (Node) for Meshtastic devices. Installation instructions are available at JSR NPM

Usage

import { MeshDevice } from "@meshtastic/sdk";
import { TransportNodeSerial } from "@meshtastic/transport-node-serial";

const transport = await TransportNodeSerial.create("/dev/cu.usbserial-0001");
const device = new MeshDevice(transport);

Stats

Alt