@ledgerhq/hw-transport-node-hid
- Version 6.29.5
- Published
- 73.7 kB
- 8 dependencies
- Apache-2.0 license
Install
npm i @ledgerhq/hw-transport-node-hid
yarn add @ledgerhq/hw-transport-node-hid
pnpm add @ledgerhq/hw-transport-node-hid
Overview
Ledger Hardware Wallet Node implementation of the communication layer, using node-hid
Index
Classes
class TransportNodeHid
class TransportNodeHid extends TransportNodeHidNoEvents {}
node-hid Transport implementation
Example 1
import TransportNodeHid from "@ledgerhq/hw-transport-node-hid"; ... TransportNodeHid.create().then(transport => ...)
property isSupported
static isSupported: () => Promise<boolean>;
property list
static list: () => Promise<any>;
property listen
static listen: (observer: Observer<DescriptorEvent<string>>) => Subscription;
property setListenDevicesDebounce
static setListenDevicesDebounce: (delay: number) => void;
property setListenDevicesDebug
static setListenDevicesDebug: () => void;
property setListenDevicesPollingSkip
static setListenDevicesPollingSkip: (conditionToSkip: () => boolean) => void;
method open
static open: (path: string | null | undefined) => Promise<TransportNodeHid>;
if path="" is not provided, the library will take the first device
Package Files (1)
Dependencies (8)
Dev Dependencies (8)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@ledgerhq/hw-transport-node-hid
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@ledgerhq/hw-transport-node-hid)
- HTML<a href="https://www.jsdocs.io/package/@ledgerhq/hw-transport-node-hid"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2133 ms. - Missing or incorrect documentation? Open an issue for this package.