Socket
Socket
Sign inDemoInstall

jsmodbus

Package Overview
Dependencies
204
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

10

examples/tcp/ReadCoils.js
var modbus = require('../../'),
client = modbus.client.tcp.complete({ 'host' : process.argv[2], 'port' : process.argv[3] , 'logEnabled' : true});
client = modbus.client.tcp.complete({
'host' : process.argv[2],
'port' : process.argv[3],
'logEnabled' : true,
'logLevel' : 'debug',
'logTimestamp' : true
});

@@ -7,3 +13,3 @@ client.on('connect', function () {

client.readCoils(process.argv[4], process.argv[5]).then(function (resp) {
console.log(resp);

@@ -10,0 +16,0 @@

4

package.json
{
"name": "jsmodbus",
"version": "1.0.2",
"version": "1.0.3",
"description": "Implementation for the Serial/TCP Modbus protocol.",

@@ -17,3 +17,3 @@ "author": "Stefan Poeter <stefan.poeter@cloud-automation.de>",

"stampit-event-bus": "^0.1.1",
"stampit-log": "^0.2.0",
"stampit-log": "^0.3.0",
"stampit-state-machine": "^0.2.1"

@@ -20,0 +20,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