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.
- 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 |
- Check out the Wiki section on how to use this library.
- Check out denonomicon.deno.dev and deno.land/manual@v1.36.4/runtime/ffi_api about Deno + FFI.
- 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!
GPLv2.0. Check LICENSE for more details.
Feel free to contribute to this project.
Copyright 2024 © Paul & Max