ohai-data
v0.1.0
Published
Returns data detected from running ohai
Readme
ohai-data
##About
###Description ohai-data returns data detected from running ohai
###Author ContainerShip Developers - [email protected]
##Getting Started
###Adding ohai-data as a dependency
npm install ohai-data --save
###How do I use ohai-data?
var ohai = require("ohai-data");
ohai.detect(function(err, data){
if(err)
throw err;
console.log(data);
});
It's that simple!
###ohai-data can't find my ohai executable If ohai isn't in your PATH, specify the path to the executable as follows:
var ohai = require("ohai-data");
ohai.detect({ executable: "/path/to/ohai" }, function(err, data){
if(err)
throw err;
console.log(data);
});
##Contributing Pull requests and issues are encouraged!
