-
-
Save hyokosdeveloper/9c9ef752e5f638356c8b416b77b4295f 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 | |
// -- required imports | |
var os = require('os'); | |
console.log("Execution of zeusbase remote operation started."); | |
// -- perform task | |
console.log("Platform: " + os.platform()); | |
console.log("Architecture: " + os.arch()); | |
console.log("Execution of zeusbase remote operation completed successfully"); |
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": "zeusbase-remote-operation", | |
"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