Skip to content
@Serial-Link

Serial

An Open Source Serial library for the Deno JavaScript runtime written in TypeScript and C++

Serial

the serial port standing in the rain

Lint Unit Tests

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.

Info

We are currently migrating from our old repository.

Features

  • 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).

Compatibility

OS Tested version Current state
Windows Windows 10 (x64) in progress
Linux Ubuntu Server 22.04 LTS in progress
Mac - planned

Overview

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)

Documentation

  • 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.

Community/Discussions

Get in touch with the community here or provide feedback and suggestions for the library.

Credits

  • 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!

Licence

Feel free to contribute to this project.

Copyright 2024 © Paul & Max

Pinned Loading

  1. serial serial Public

    Core library for the serial communication.

    TypeScript 1

  2. community community Public

    Provide feedback and suggestions for the Serial-Link library.

  3. cpp-bindings-windows cpp-bindings-windows Public

    C++ Windows Bindings for the serial library.

  4. cpp-bindings-unix cpp-bindings-unix Public

    C++ Unix Bindings for the serial library.

    CMake

Repositories

Showing 6 of 6 repositories
  • .github Public

    Profile README.

    Serial-Link/.github’s past year of commit activity
    0 GPL-2.0 0 0 0 Updated Jul 24, 2024
  • serial Public

    Core library for the serial communication.

    Serial-Link/serial’s past year of commit activity
    TypeScript 1 GPL-2.0 0 0 0 Updated Apr 23, 2024
  • cpp-bindings Public

    Bindings for low level communication with the OS.

    Serial-Link/cpp-bindings’s past year of commit activity
    0 GPL-2.0 0 0 0 Updated Apr 10, 2024
  • community Public

    Provide feedback and suggestions for the Serial-Link library.

    Serial-Link/community’s past year of commit activity
    0 GPL-2.0 0 0 0 Updated Apr 10, 2024
  • cpp-bindings-unix Public

    C++ Unix Bindings for the serial library.

    Serial-Link/cpp-bindings-unix’s past year of commit activity
    CMake 0 GPL-2.0 0 0 0 Updated Apr 10, 2024
  • cpp-bindings-windows Public

    C++ Windows Bindings for the serial library.

    Serial-Link/cpp-bindings-windows’s past year of commit activity
    0 GPL-2.0 0 0 0 Updated Apr 10, 2024

Top languages

Loading…

Most used topics

Loading…