dipa
v0.1.12
Published
Automatically expose an API about your PIDs, know if a specific PID is running
Downloads
17
Maintainers
Readme
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