Skip to content

Instantly share code, notes, and snippets.

@translate3d
Last active March 28, 2024 09:56

Revisions

  1. translate3d revised this gist Jun 12, 2021. 2 changed files with 2 additions and 1 deletion.
    1 change: 1 addition & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    {"name": "npx-github-gist", "version": "1.0.0", "bin": "./index.js"}
    2 changes: 1 addition & 1 deletion readme.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    Run a Node.js script directly from GitHub Gist without installing npm packages

    ```bash
    npx https://gist.github.com/...
    npx https://gist.github.com/translate3d/38b39567df38f8065d384fdabf3b71d6
    ```
  2. translate3d created this gist Jun 12, 2021.
    5 changes: 5 additions & 0 deletions index.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/usr/bin/env node

    console.log("\n");
    console.log('👋 from GitHub Gist');
    console.log("\n");
    5 changes: 5 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    Run a Node.js script directly from GitHub Gist without installing npm packages

    ```bash
    npx https://gist.github.com/...
    ```