Socket
Socket
Sign inDemoInstall

modbus-serial

Package Overview
Dependencies
197
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

examples/simple.js

2

index.js

@@ -50,3 +50,3 @@ /**

* var serialPort = new SerialPort("/dev/ttyUSB0", {baudrate: 9600});
* var ModbusRTU = require("modbusrtu");
* var ModbusRTU = require("modbus-serial");
* var modbusRTU = new ModbusRTU(serialPort);

@@ -53,0 +53,0 @@ *

{
"name": "modbus-serial",
"version": "1.0.0",
"version": "1.0.1",
"description": "A pure JavaScript implemetation of MODBUS-RTU for NodeJS.",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/yaacov/node-modbus-rtu.git"
"url": "git+https://github.com/yaacov/node-modbus-serial.git"
},

@@ -25,5 +25,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/yaacov/node-modbus-rtu/issues"
"url": "https://github.com/yaacov/node-modbus-serial/issues"
},
"homepage": "https://github.com/yaacov/node-modbus-rtu#readme",
"homepage": "https://github.com/yaacov/node-modbus-serial#readme",
"devDependencies": {

@@ -30,0 +30,0 @@ "chai": "^3.4.0",

@@ -1,4 +0,6 @@

# node-modbus-rtu
# modbus-serial
A pure JavaScript implemetation of MODBUS-RTU for NodeJS
[![NPM Version](https://img.shields.io/npm/v/gm.svg?style=flat)](https://www.npmjs.com/package/modbus-serial)
This class makes ModbusRTU calls fun and easy.

@@ -13,3 +15,3 @@

```
npm install modbus-rtu
npm install modbus-serial
```

@@ -41,3 +43,3 @@

var serialPort = new SerialPort("/dev/ttyUSB0", {baudrate: 9600});
var ModbusRTU = require("modbusrtu");
var ModbusRTU = require("modbus-serial");
var modbusRTU = new ModbusRTU(serialPort);

@@ -44,0 +46,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc