Socket
Socket
Sign inDemoInstall

linux-device

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linux-device - npm Package Compare versions

Comparing version 1.0.13 to 1.0.15

CONTRIBUTING.md

2

package.json
{
"name": "linux-device",
"version": "1.0.13",
"version": "1.0.15",
"description": "Native addon to communicate with linux devices (can also be used for sockets or FIFOs)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,3 +27,3 @@ # node-linux-device

**DeviceHandle.write(Buffer data [, Function callback(Error err)] )**
**DeviceHandle.write(Buffer data [, Object opts], Function callback(Error err) )**

@@ -33,3 +33,4 @@ Writes data to the device or file.

- `data` A buffer containing the data to write (append)
- `callback(Error err)` [optional] Callback function containing an optional error while writing.
- `opts` [optional] An object containing write options. Supported values are `repetitions` and `interval`
- `callback(Error err)` Callback function containing an optional error while writing.

@@ -36,0 +37,0 @@ **DeviceHandle.ioctl(Number direction, Number type, Number cmd [, Buffer buffer])**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc