This package has been deprecated

Author message:

move to @the-/ps ( https://github.com/the-labo/the/tree/master/packages/ps#readme )

the-ps

1.0.15 • Public • Published

the-ps

Build Status npm Version JS Standard

Process manager for the-framework

Installation

$ npm install the-ps --save

Usage

'use strict'
 
const thePS = require('the-ps').default
 
async function tryExample () {
  const ps = thePS('var/my-process.pid')
 
  // Terminate zombie and generate pid file
  await ps.acquire()
}
 
tryExample().catch((err) => console.error(err))
 

API Guide

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-ps

Weekly Downloads

1

Version

1.0.15

License

MIT

Unpacked Size

69.5 kB

Total Files

39

Last publish

Collaborators

  • okunishinishi