Last active
July 31, 2019 00:22
-
-
Save wmantly/31ccb15b02d92a3620e53cc821f7b7f6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
# Place this file in /usr/bin/node-async-interactive | |
# Run `chmod +x /usr/bin/node-async-interactive` to make it executable | |
# Usage `node-async-interactive node_file.js` will drop you in a interactive node REPL | |
node --experimental-repl-await -i -e "$(< $1)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment