run-url
v1.0.2
Published
๐ Run a Node.js file from a URL, easily "npx run-url https://example.com/script.js"
Downloads
29
Readme
๐ run-url
Simply run a Node.js file from a URL, installing dependencies and everything.
๐ก Usage
npx run-url https://gist.githubusercontent.com/AnandChowdhary/3c0400b29a18a2afff7a23e2a3308c22/raw/221204bc51bb7ef799363ef1e05f14c264b4a8ec/log.js
In the above example, the GitHub Gist URL logs the current date. Replace it with the URL of a Node.js file.