Created
July 26, 2019 09:16
-
-
Save andrijac/86297268a591ab9a59975b553fae73e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Press any key to exit'); | |
process.stdin.setRawMode(true); | |
process.stdin.resume(); | |
process.stdin.on('data', process.exit.bind(process, 0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment