What is onoff?
"GPIO access and interrupt detection with Node.js"
onoff is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 288.7 KB on disk.
Installation Guide
# Install via NPM
npm install onoff
# Install via Yarn
yarn add onoff