0.1.0 • Published 12 years ago

psjson v0.1.0

Weekly downloads
34
License
-
Repository
github
Last release
12 years ago

psjson

Just simply converts output of a 'ps' command into JSON.

Installation

npm install psjson

Usage

var psjson = require('psjson');
psjson.ps('ps -ea', function(err, json) {
  console.dir(json);
});

If no command is specified, the command defaults to 'ps -eaf'.