New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-modbus-lib

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-modbus-lib

A TypeScript library for Modbus Server/Client communication over TCP and RTU.

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

node-modbus

Intro

Use TypeScript Implement Modbus TCP/RTU Client/Server Library

Background

node-modbus-serial

is probably the most complete and easy-to-use Modbus package in the existing community. I have also contributed to this community, but there are still many issues, such as:

  • Incomplete TS type definitions
    • This largely prevents developers from using editor autocompletion or type checking.
    • Although it has Modbus TCP/RTU Client/Server functionality, the lack of documentation and unclear types means that developers need to look at the source code to use it.
  • The underlying implementation is too bloated to fully utilize V8's performance.
    • Many meaningless prototype chain modifications.
    • A large number of new objects, which can be inferred to cause GC/OOM/performance issues in certain situations.

For this reason, I plan to redevelop the Modbus-related package.

If successful, I may consider donating the copyright to the community or foundation...etc.

Current Status

  • Modbus TCP Client
  • Modbus TCP Server
  • Modbus RTU Client
  • Modbus RTU Server
  • Debugger
  • CI/CD
  • Document

Currently, the main focus is on type declaration. Due to my busy work schedule, updates may be irregular. Collaboration is welcome.

Keywords

modbus

FAQs

Package last updated on 30 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts