New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pciinfo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pciinfo

Cross-platform PCI info

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

pciinfo

Cross-platform PCI info in nodejs.

npm Build Status Code Climate

usage

var pciinfo = require('pciinfo');

pciinfo(function(error, info){
	if (error) throw error;
	console.log(info);
});

I also included a CLI util. pciinfo will give you a nice JSON list of your PCI devices.

installation

npm install --save pciinfo

If you want pciinfo in your path, do npm install -g pciinfo. Both utils have a --help flag, so you can learn more about how they work.

OSX

You will need to install bin/DirectHW.pkg for this to work. It will install DirectHW.kext in your system directory.

Windows

You should be good-to-go.

Other Operating Systems

lspci (from pciutils) needs to be in your path.

Keywords

pci

FAQs

Package last updated on 30 Jan 2015

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