Stateful session, injected ports
Construct a MeshCoreSession with an injected Transport (and optional
Logger). The session owns a typed event emitter and in-memory
session state; it never writes to disk.
pnpm add @andyshinn/meshcore-tsStateful session, injected ports
Construct a MeshCoreSession with an injected Transport (and optional
Logger). The session owns a typed event emitter and in-memory
session state; it never writes to disk.
You own persistence
Subscribe to events (contacts, messages, owner, …) and store them
however you want. On reconnect the session re-syncs from the radio.
Zero runtime dependencies
Only node:buffer / node:crypto. BLE/serial drivers stay your
responsibility behind the Transport port.
Multi-instance safe
No module-level singletons — every session keeps its own state, so you can run several concurrently in one process.
This site publishes llms.txt files following the
llms.txt convention so AI assistants and coding tools
can ingest the documentation directly:
llms.txt — index and overview, linking to the full setsllms-full.txt — the complete documentation in one filellms-small.txt — a compact version for smaller context windows