Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

mainrs/exit-on-esc

Repository files navigation

exit-on-esc

travis-badge commitizen-badge greenkeeper-badge npm-badge pkgsign-badge

A small library that will quit the process if a user presses the escape key.

const exitHandler = require('exit-on-esc');

// initialize escape handler.
exitHandler();

Installation

Install it using your favorite package manager!

$ npm install exit-on-esc

About

A small library that closes the current program when pressing the escape key

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published