A serial library written in TypeScript for Deno without any third party modules.
This library provides an interface for the communication with serial devices and doesn't use any third party modules. It uses C++ functions which are compiled to WebAssembly. These functions are then loaded by Deno to establish a serial connection and talk to the devices.
We are currently migrating from our old repository.
- Communication with serial devices.
- Create multiple serial connections at the same time.
- List available ports and their properties (if available).
- Set timeouts for both reading and writing.
- All functions are async.
- Uses no third party modules.
- Works on multiple different operating systems (check compatibility for mor info).
OS | Tested version | Current state |
---|---|---|
Windows | Windows 10 (x64) | in progress |
Linux | Ubuntu Server 22.04 LTS | in progress |
Mac | - | planned |
The library consists of:
- The Core Serial library (Source Code for TypeScript Serial library)
- The low level C++ bindings (Source Code for C++ low level bindings)
- Serial: Check out the Wiki section on how to use the TypeScript library.
- C++ bindings: Check out the Wiki section on how to use the C++ bindings.
Get in touch with the community here or provide feedback and suggestions for the library.
- Big thanks goes out to @Katze719 who wrote most of the C++ files and functions!
- Thanks to @AapoAlas for the great support and help on the Deno Discord!
- Thanks to @Dj for the inspiration on how to write such a library!
- Serial: GPLv2.0. Check LICENSE for more details.
- C++ bindings: GPLv2.0. Check LICENSE for more details.
Feel free to contribute to this project.
Copyright 2024 © Paul & Max