0.1.0 • Published 8 years ago

ohai-data v0.1.0

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
8 years ago

ohai-data

##About

###Description ohai-data returns data detected from running ohai

###Author ContainerShip Developers - developers@containership.io

##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!