Last active
July 21, 2022 17:55
-
-
Save wraithgar/a5a65137bd390864e294ec80bb91e005 to your computer and use it in GitHub Desktop.
npm exec gist
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 | |
const pkg = require('./package.json') | |
console.log(`Hi there! I am ${pkg.name} version ${pkg.version}`) |
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": "@gar/npm-exec-gist", | |
"version": "1.0.0", | |
"description": "gist for use with npm exec / npx", | |
"bin": "./main.js" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment