dipa

0.1.12 • Public • Published

DIPA logo

npm version

know if a specific PID is running

Automatically expose an API about your PIDs

Install

$ [sudo] npm install -g dipa

Run

$ dipa

optional flags:

  • --prefix [prefix] : custom api prefix (default /api/)
  • --port [port] : custom port (default 8080)

you can check for any PID by going to:

 http://localhost:8080/api/v1/pid/{YOUR_PID}

example response:

 {"success":true,"running":true}

PID status is cached for 10 seconds

Package Sidebar

Install

npm i dipa

Weekly Downloads

1

Version

0.1.12

License

ISC

Last publish

Collaborators

  • nya