Skip to content

Instantly share code, notes, and snippets.

@hyokosdeveloper
Forked from Tynael/README.md
Last active November 29, 2020 18:36
Show Gist options
  • Save hyokosdeveloper/9c9ef752e5f638356c8b416b77b4295f to your computer and use it in GitHub Desktop.
Save hyokosdeveloper/9c9ef752e5f638356c8b416b77b4295f to your computer and use it in GitHub Desktop.
How to use npx to run gist based scripts
#!/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");
{
"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