Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anandchowdhary/run-url

🏃 Run a Node.js file from a URL, easily "npx run-url"
https://github.com/anandchowdhary/run-url

bash cli nodejs runner script typescript util

Last synced: 23 days ago
JSON representation

🏃 Run a Node.js file from a URL, easily "npx run-url"

Awesome Lists containing this project

README

        

# 🏃 `run-url`

Simply run a Node.js file from a URL, installing dependencies and everything.

[![GitHub Actions](https://github.com/AnandChowdhary/run-url/workflows/Node%20CI/badge.svg)](https://github.com/AnandChowdhary/run-url/actions)
[![Travis CI](https://img.shields.io/travis/AnandChowdhary/run-url.svg)](https://travis-ci.org/AnandChowdhary/run-url)
[![License](https://img.shields.io/github/license/anandchowdhary/run-url.svg)](https://github.com/AnandChowdhary/run-url/blob/master/LICENSE)
![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/AnandChowdhary/run-url.svg)
![NPM type definitions](https://img.shields.io/npm/types/run-url.svg)
[![NPM](https://img.shields.io/npm/v/run-url.svg)](https://www.npmjs.com/package/run-url)

[![NPM](https://nodei.co/npm/run-url.png)](https://www.npmjs.com/package/run-url)

## 💡 Usage

```bash
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.

## 📄 License

[MIT](./LICENSE) © [Anand Chowdhary](https://anandchowdhary.com)