JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 587761
  • Score
    100M100P100Q194333F
  • License BSD

Test if a process with a given pid is running

Package Exports

  • is-running

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-running) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Test if a process with a given pid is running

Build Status Dependency Status Dependency tracking by David

Installation

npm install is-running

Usage

var inspect = require('eyespect').inspector();
var running = require('is-running');

var pid = 897245;
running(pid, function(err, live) {
  if (err) {
    inspect(err, 'error testing if process is running');
    return;
  }
  inspect(live, 'is process running?');
});

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

Test

To run the test suite execute npm test