Skip to content
/ dipa Public

Automatically expose an HTTP API about your PIDs, know if a specific PID is running

Notifications You must be signed in to change notification settings

nya1/dipa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Automatically expose an HTTP API about your PIDs, know if a specific PID is running

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published