node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

is-running

Test if a process with a given pid is running

Test if a process with a given pid is running

Dependency tracking by David

Installation

npm install is-running

Syncronously

var inspect = require('eyespect').inspector()
var running = require('is-running')
var pid = 897245
var live = running(pid)
inspect(live, 'is process running?')
})

you will need to install eyespect to run the above example npm install eyespect

To run the test suite execute npm test