Just simply converts output of a 'ps' command into JSON.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE Adding LICENSE file Jul 7, 2014
README.md Update README.md Feb 14, 2014
package.json Set License in package.json Jul 7, 2014
psjson.js Added files.. Sep 28, 2012

README.md

psjson NPM version

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'.