Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

psjson

0.1.0 • Public • Published

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

install

npm i psjson

Downloadsweekly downloads

10

version

0.1.0

license

none

last publish

collaborators

  • avatar
  • avatar
  • avatar