Skip to content

Latest commit

 

History

History
executable file
·
34 lines (24 loc) · 688 Bytes

README.md

File metadata and controls

executable file
·
34 lines (24 loc) · 688 Bytes

pci-ids

A nodejs library to parse the PCI IDs database file and make its contents available.

See The PCI ID Repository for details.

Installation

$ npm install pci-ids

Example

const pciIds = require('pci-ids')

console.log(pciIds.getInfo('PCI\VEN_1002&DEV_67DF&SUBSYS_E3661DA2&REV_E7\6&2527380&0&002000E9'))

Output

{
  vendorId: 'AMD',
  deviceId: 'Ellesmere [Radeon RX 470/480/570/580]',
  deviceSubsysId: 'Radeon RX 570',
  manufacturerId: 'Sapphire Technology Limited'
}

Badges