@aleworm/hw-transport-node-hid

    6.0.1 • Public • Published

    Github, Ledger Devs Slack

    @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
    • observer Observer<DescriptorEvent<string?>>

    Returns Subscription

    open

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

    Parameters

    Install

    npm i @aleworm/hw-transport-node-hid

    DownloadsWeekly Downloads

    4

    Version

    6.0.1

    License

    Apache-2.0

    Unpacked Size

    639 kB

    Total Files

    19

    Last publish

    Collaborators

    • aleworm