@the-/ps

15.6.3 • Public • Published

@the-/ps

npm Version

Process manager for the-framework

Installation

$ npm install @the-/ps --save

Usage

'use strict'

const { default: thePS } = require('@the-/ps')

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

See API Guide for more detail

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i @the-/ps

Weekly Downloads

1

Version

15.6.3

License

MIT

Unpacked Size

60.9 kB

Total Files

19

Last publish

Collaborators

  • okunishinishi