Just simply converts output of a 'ps' command into JSON.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
package.json
psjson.js

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