onoff
GPIO access and interrupt detection with Node.js (by fivdi)
pigpio
Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi (by fivdi)
Our great sponsors
onoff | pigpio | |
---|---|---|
1 | 1 | |
1,222 | 931 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onoff
Posts with mentions or reviews of onoff.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-20.
-
Stackoverflow in a nutshell
I do that quite a bit but in NodeJS with e.g https://www.npmjs.com/package/onoff
pigpio
Posts with mentions or reviews of pigpio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-16.
-
It is time to power off my tiny RPi zero Xmas tree, sharing the moment with you guys
You can get much better performance by coding a library from scratch I suppose. I heard pigpio in NodeJS would allow that but I never tried myself.
What are some alternatives?
When comparing onoff and pigpio you can also consider the following projects:
node-rpio - Raspberry Pi GPIO library for node.js
johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.
i2c-bus - I2C serial bus access with Node.js
spi-device - SPI serial bus access with Node.js
pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
serialport - Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
cylon.js - JavaScript framework for robotics, drones, and the Internet of Things (IoT)