Exit the process when the `esc` key is pressed
MIT License
Check whether a file can be executed
Discard stdin input except for Ctrl+C
Escape a string for use in AppleScript
Escape RegExp special characters
Gracefully restore the CLI cursor on exit
Check if it's the first time the process is run
Clear the terminal cross-platform
Check if a process is running
Run some code when the process exits
Run Electron without all the junk terminal output
Fabulously kill processes. Cross-platform.
The Sindre Sorhus CLI
Get stdin as a string or buffer
Toggle the CLI cursor
Strip console, alert, and debugger statements from JavaScript code