Ross ROSS = Recommend OSS · open-source software intelligence for agents

fivdi/onoff

GPIO access and interrupt detection with Node.js observed · 2026-08-28

github.com/fivdi/onoff · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5061
  • days_rel: n/a
  • days_push: 797
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1259 stars · 124 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

onoff is a Node.js library providing GPIO access and interrupt detection on Linux single-board computers like the Raspberry Pi and BeagleBone. It offers synchronous, callback, and promise-based APIs for reading and writing GPIO pins and watching for edge-triggered interrupts.

Use cases

  • blink an LED from a Node.js script on a Raspberry Pi
  • read button presses with interrupt detection in Node.js
  • debounce physical buttons connected to GPIO pins
  • control hardware outputs on a BeagleBone Black with JavaScript
  • build IoT prototypes using Node.js on Linux boards
  • configure pullup and pulldown resistors for GPIO inputs

When to choose

  • you need GPIO control from Node.js on a Linux SBC like Raspberry Pi or BeagleBone
  • you want interrupt-driven input handling with edge detection
  • you prefer a simple, well-documented npm package with sync, callback, and promise APIs

When to avoid

  • you are on a non-Linux platform such as Windows or macOS
  • you need high-performance or real-time GPIO timing
  • you are working with newer Node.js versions beyond those the library supports
  • you need support for other interfaces like I2C, SPI, or PWM

Facets

library · maturity maintenance

iot embedded iot embedded-systems hardware iot gpio interrupts raspberry-pi beaglebone hardware-interfacing embedded-linux linux nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
fivdi/onoffmain32

For agents

markdown · JSON · MCP: product_card(name="fivdi/onoff")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem