New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

esc-exit

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esc-exit

Exit the process when the `esc` key is pressed

0.1.0
Version published
Maintainers
1
Created

esc-exit Build Status

Exit the process when the esc key is pressed

Useful for CLI tools to let the user press esc to get out.

Install

$ npm install --save esc-exit

Usage

var escExit = require('esc-exit');

escExit();

License

MIT © Sindre Sorhus

FAQs

Package last updated on 05 Apr 2014

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