Skip to content

webserial-core v1Event-driven serial communication

Legacy version (1.x) — consider upgrading to v2 for full TypeScript support and multi-transport adapters.

Legacy version

You are viewing the v1 (legacy) documentation. v1 is now on security fixes only.

For new projects use v2 (latest) which adds:

  • Provider-agnostic adapters (WebUSB, Web Bluetooth, WebSocket)
  • Full TypeScript generics and strict typings
  • Improved parser system (delimiter, fixed-length, raw)
  • Auto-reconnect with exponential back-off

Released under the MIT License.