Show how to use node-hid
with electron-react-boilerplate
This is just a simple clone of the electron-react-boilerplate
repo, with the small additions needed to make node-hid
work,
as outlined in ERB's Native Modules section.
node-hid
is shown both running in the "main" process and in the "renderer" process.
Clone the repo and install dependencies:
npm install
npm start
Having issues installing? See ERB's debugging guide
npm run package
See electron-react-boilerplate docs and guides here