get-adapter-info

1.0.0 • Public • Published

get-adapter-info

network adapter lookup with nodejs

  • get the currently connected network adapter
  • Only supports window7+ systems

Example

Code

const connectedAdapterInfo = require("get-adapter-info")
console.log(connectedAdapterInfo())

Result Object

{
    bDescr: 'Intel(R) Wi-Fi 6 AX201 160MHz',
    dwInOctets: 128230073,
    dwOutOctets: 34135504,
    wszName: '\\DEVICE\\TCPIP_{488E36CC-E8A2-4812-8BD7-8399CBB0D486}',
    dwType: 71,
    dwOperStatus: 5,
    dwAdminStatus: 1,
    dwSpeed: 144400000
}

Package Sidebar

Install

npm i get-adapter-info

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

8.12 kB

Total Files

7

Last publish

Collaborators

  • whaleluo