Socket
Book a DemoInstallSign in
Socket

@ledgerhq/hw-transport-node-hid-noevents

Package Overview
Dependencies
Maintainers
0
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-node-hid-noevents

Ledger Hardware Wallet Node implementation of the communication layer, using node-hid. without usb events

latest
Source
npmnpm
Version
6.30.11
Version published
Weekly downloads
65K
-13.33%
Maintainers
0
Weekly downloads
 
Created
Source

GitHub, Ledger Devs Discord, Developer Portal

@ledgerhq/hw-transport-node-hid-noevents

Allows to communicate with Ledger Hardware Wallets.

[Node]/Electron (HID) – uses only node-hid. Does not provide USB events.

API

Table of Contents

TransportNodeHidNoEvents

Extends Transport

node-hid Transport minimal implementation

Parameters

  • device HID.HID

  • $1 {context: TraceContext?, logType: LogType?} (optional, default {})

    • $1.context
    • $1.logType

Examples

import TransportNodeHid from "@ledgerhq/hw-transport-node-hid-noevents";
...
TransportNodeHid.create().then(transport => ...)

exchange

Exchange with the device using APDU protocol.

Parameters

Returns Promise<Buffer> a promise of apdu response

close

release the USB device.

Returns Promise<void>

isSupported

Returns Promise<boolean>

list

Returns Promise<any>

listen

Parameters
  • observer Observer<DescriptorEvent<any>>

Returns Subscription

open

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

Parameters

Keywords

Ledger

FAQs

Package last updated on 05 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts