Skip to content

Instantly share code, notes, and snippets.

@kimkimani

kimkimani/index.js Secret

Last active Dec 31, 2020
Embed
What would you like to do?
#!/usr/bin/env node
for(var i = 0; i < 10; i++){
console.log("Hello World!");
}
console.log("I was executed from a gist inside the terminal with npx!");
{
"name": "run-js-with-npx-from-gist",
"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