wait-for-sigint
A simple utility to keep the node process waiting until SIGINT
(usually ctrl+c
) is received.
Install
Using npm:
npm install wait-for-sigint
Usage
var waitForSigint = ; ;
waitForSigint()
returns a Promise that is resolved when SIGINT has been received.