Socket
Socket
Sign inDemoInstall

node-hid

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hid - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

6

package.json
{
"name": "node-hid",
"description": "USB HID device access library",
"version": "0.1.1",
"version": "0.2.0",
"author": {

@@ -16,7 +16,7 @@ "name": "Hans Hübner",

"scripts": {
"update": "sh get-hidapi.sh",
"preupdate": "sh get-hidapi.sh",
"preinstall": "sh get-hidapi.sh",
"install": "sh install.sh"
},
"main": "./src/HID",
"main": "./build/Release/HID.node",
"engines": {

@@ -23,0 +23,0 @@ "node": ">=0.8.0"

@@ -9,3 +9,3 @@ # node-hid - Access USB HID devices from node.js #

* node.js v0.8
* libudev (Linux only)
* libudev-dev (Linux only)
* git

@@ -25,2 +25,7 @@

Please note that Windows support is incomplete and needs some work
to pull it to the same level as on Linux and OSX. See issues #10
and #15 in github for discussion. Pull requests to improve Windows
support would be welcome.
## Test it

@@ -37,3 +42,3 @@

```
var HID = require('HID');
var HID = require('node-hid');
```

@@ -40,0 +45,0 @@

@@ -5,3 +5,3 @@ // Simple interface to Sony Buzz! wireless buzzers

var events = require('events');
var HID = require('HID');
var HID = require('node-hid');

@@ -8,0 +8,0 @@ // buzzer protocol info: http://www.developerfusion.com/article/84338/making-usb-c-friendly/

@@ -9,3 +9,3 @@ // Interface to Griffin PowerMate

var HID = require('HID');
var HID = require('node-hid');
var util = require('util');

@@ -12,0 +12,0 @@ var events = require('events');

@@ -1,3 +0,3 @@

var HID = require('HID');
var HID = require('node-hid');
console.log('devices:', HID.devices());

@@ -1,2 +0,2 @@

var HID = require('HID');
var HID = require('node-hid');
var REPL = require('repl');

@@ -3,0 +3,0 @@

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