Created
August 4, 2018 19:18
-
-
Save elijahmanor/6330e61bbcfcbf9366d96e4af154f114 to your computer and use it in GitHub Desktop.
Run JavaScript in the terminal from a gist with npx
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 node | |
console.log( "Look Ma, I'm executing JavaScript from a gist inside the terminal with npx!" ); |
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
{ | |
"name": "js-from-terminal-with-npx", | |
"version": "1.0.0", | |
"bin": "./index.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment