1.0.0 • Published 9 years ago

pciinfo v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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.