Last active
July 8, 2023 04:14
-
-
Save maximilliangeorge/5a4f45d491c04dba9e121f57060f0548 to your computer and use it in GitHub Desktop.
How to use npx to run gist based scripts
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("I was executed 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": "xxxxxxxxkxkkxkxkmawkmdkawmd", | |
"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