Skip to content
N

Node Hid

Access USB & Bluetooth HID devices through Node.js

by node-hidFree

#1357in Utilities
0In stores

Description

node-hid lets Node.js programs talk to USB and Bluetooth HID devices, such as keyboards, game controllers and other human interface devices.…

Highlights

  • Access USB and Bluetooth HID devices from Node.js
  • Asynchronous and synchronous APIs
  • Prebuilt binaries for Windows, macOS and common Linux platforms
  • Works with Node.js 10 to 20 and Electron
  • Linux driver choice between hidraw and libusb

Ratings & Reviews

No ratings yet

Be the first to rate Node Hid.

People also visit

N

Node Serialport

Access serial ports with JavaScript

Utilities
Launch
I

Iohook

Node.js global keyboard and mouse listener

Utilities
Launch
P

PC Nrfconnect Launcher

nRF Connect for Desktop application and framework

Utilities
Launch
O

Obs Studio Node

libOBS (OBS Studio) for Node.Js, Electron and similar tools

Utilities
Launch
A

Android Hid Client

Android app that allows you to use your phone as a keyboard

Utilities
Launch
D

Desktop App

One app to rule them all!

Utilities
Launch

Node Hid FAQ

What does node-hid do?

It gives Node.js programs access to USB and Bluetooth HID devices, such as keyboards, controllers and other human interface hardware.

How do I install it?

Run npm install node-hid. Prebuilt binaries cover the common platforms, and other platforms compile the binary during install.

Which Node.js and Electron versions work?

Node.js 10 to 20 and Electron 3 to 24 are listed as supported, and newer versions should work.

Does it work on Linux?

Yes. The README covers udev device permissions and the choice between the hidraw and libusb drivers.

Are there examples?

Yes. The README has complete examples for the async and sync APIs, and a hid-showdevices test program.

Is it free?

Yes. node-hid is open source and its code is on GitHub.

What are the best Node Hid alternatives?

Popular alternatives to Node Hid include Node Serialport, Iohook and PC Nrfconnect Launcher. See all Node Hid alternatives

Developer Stuff

Badges