# node-usb/node-usb

Improved USB library for Node.js

Repository: https://github.com/node-usb/node-usb
Canonical: https://ross.abutalabs.com/products/node-usb
Homepage: https://node-usb.github.io/node-usb/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-17T13:11:19+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 63, longevity 100
- inputs: {"age_days": 5239, "days_push": 16, "days_rel": 88, "gap_med": 151.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1654, forks 288 (observed 2026-08-28T04:05:17.167700+00:00)

## What it is
A Node.js library for communicating with USB devices, built on libusb with prebuilt native bindings. Development has moved to node-usb-rs since v3.0.0, so this library is in maintenance mode.

## Use cases
- communicate with usb devices from node.js
- read and write to a usb peripheral in javascript
- list connected usb devices and their vendor/product ids
- send control and bulk transfers to a usb device
- build a node.js app that talks to custom usb hardware

## When to choose
- you need low-level USB access from Node.js on Linux, macOS, or Windows
- you want prebuilt native bindings without compiling libusb yourself
- your device uses the default configuration and non-isochronous transfers

## When to avoid
- you need isochronous transfers or non-default USB configurations
- you're starting a new project - development has moved to node-usb-rs
- you need a pure-JavaScript solution without native modules

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools, embedded
- domain: hardware, developer-tools, cross-platform
- platform: cross-platform, windows
- tags: usb, libusb, hardware-access, native-module, typescript, nodejs, linux, macos

## Member repositories
- node-usb/node-usb (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:17.167700+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:44:56.372150+00:00, confidence not recorded.
  - readme: https://github.com/node-usb/node-usb (fetched 2026-08-28T04:05:17.167700+00:00, sha 60145ea09a03)
  - homepage: https://node-usb.github.io/node-usb/ (fetched 2026-08-29T11:18:04.060117+00:00, sha 7e6fad81bc47)
- Data as of 2026-08-30T08:39:29.467469+00:00.
