title: Node.JS Parent Process ID
body: <p>Is it possible to get the parent process-id using Node.JS? I would like to detect if the parent is killed or fails in such a way that it cannot notify the child. If this happens, the parent process id of the child should become 1.</p>
  
  <p>This would be preferable to requiring the parent to periodically send a keep-alive signal and also preferable to running the <code>ps</code> command.</p>