NodeJS GPIO Library

Hi I am using a NodeJS server to control some lights and sensors through the GPIO pins

I normally use the NVIDIA jetson-gpio python library https://pypi.org/project/Jetson.GPIO/

But is there a javascript library equivalent?

There are some on npm but they do not seem to be right

gpio-jetsontx1tx2 - https://www.npmjs.com/package/gpio-jetsontx1tx2
onoff gpio - https://www.npmjs.com/package/onoff

How do I enable to GPIO pins for use with node?

Thank you

Hi grahammegqc,

We’re not familiar with jetson-gpio python library, also don’t know if there is a javascript library equivalent for your purpose. Hope other developers could share their experience.