npm.io
6.33.5 • Published 1 month ago

@ledgerhq/hw-transport-node-hid

Licence
Apache-2.0
Version
6.33.5
Deps
8
Size
94 kB
Vulns
0
Weekly
0
Stars
610

GitHub, Ledger Devs Discord, Developer Portal

@ledgerhq/hw-transport-node-hid

Allows to communicate with Ledger Hardware Wallets.

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

API

Table of Contents
TransportNodeHid

Extends TransportNodeHidNoEvents

node-hid Transport implementation

Examples
import TransportNodeHid from "@ledgerhq/hw-transport-node-hid";
...
TransportNodeHid.create().then(transport => ...)
isSupported
list
setListenDevicesDebounce
Parameters
setListenDevicesPollingSkip
Parameters
  • conditionToSkip function (): boolean
setListenDevicesDebug
listen
Parameters

Returns Subscription

open

if path="" is not provided, the library will take the first device

Parameters

Keywords