Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.