Skip to content

About

Keycard Shell Node implementation of the communication layer

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

ShellJS Node HID

ShellJS Node HID is a Keycard Shell Node implementation of the communication layer.

[Node]/Electron (HID) – uses node-hid and usb.

Installation

npm install @choppu/shelljs-node-hid

Usage example

import ShellJSNodeHID from "@choppu/shelljs-node-hid";
...
let transport: any;
transport = await ShellJSNodeHID.TransportNodeHid.default.create();
...

Note

usb v3 dropped unrefHotplugEvents(): a live device subscription keeps the event loop open, so unsubscribe to let the process exit.

About

Keycard Shell Node implementation of the communication layer

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages