Socket
Socket
Sign inDemoInstall

wait-for-sigint

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

wait-for-sigint


Version published
Weekly downloads
1.1K
decreased by-1.07%
Maintainers
1
Install size
3.05 kB
Created
Weekly downloads
 

Readme

Source

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 = require('wait-for-sigint');

waitForSigint().then(() => {
    console.log('received sigint');
});

waitForSigint() returns a Promise that is resolved when SIGINT has been received.

License

MIT

Keywords

FAQs

Last updated on 31 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc