Catalog npm
PACKAGE EXPLORERView in registry

2pid

npm

Pid control

log
Versions collected2
Direct dependencies4From release 1.0.1
Last observed20 Oct, 19:17 UTC

README

Current package documentation

2pid

v.1.0.1

Working with PID file

Install

npm --save install 2pid

Usage Example

cat index.js

var Pid = require('2pid');

var PID_FILE = '/tmp/myapp.pid';
var pid = new Pid(PID_FILE);

if(pid.status == 'runned') {
  throw new Error('application already running');
}

console.log(pid.status); //started

pid.remove();

console.log(pid.status); //stopped

Change Log

all changes

Created by

Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.1Registry latest26 Aug 20164
1.0.017 Jun 20165

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
ivanoff/2pid

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:78e617c35488b7631c18ddc35f24b12c6ce8665dbbee965da4174a03bff0c696