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 Jetson.GPIO · PyPI

But is there a javascript library equivalent?

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

gpio-jetsontx1tx2 - gpio-jetsontx1tx2 - npm
onoff gpio - onoff - npm

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.