# require-url

> Require a file from a url

Latest version **0.0.1** (published 2014-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install require-url
pnpm add require-url
yarn add require-url
bun add require-url
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-09-03 |
| First published | 2014-09-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| Author | Ryan Seys |
| Maintainers | ryanseys |

## Links

- npm: https://www.npmjs.com/package/require-url
- npm.io page: https://npm.io/package/require-url

## Dependencies (2)

- [tmp](https://npm.io/package/tmp.md) ^0.0.24
- [request](https://npm.io/package/request.md) ^2.40.0

## Recent versions

- 0.0.1 (latest) — 2014-09-03

## README

# require-url

Require a node module from a url.

> "One of the stupidest things I've ever made." - Ryan Seys, 2014

## Install

``` sh
npm install require-url
```

## Usage

``` js
var require_url = require('require-url');
var url = 'https://gist.githubusercontent.com/ryanseys/b81ead1d499ed5e94b29/raw/hello.js';

require_url(url, function(err, mod) {
  if(err) throw err;
  mod(); // 'hello from a github gist'
});
```

## Contributing

I wouldn't bother if I were you. But if you really want to, send a PR / issue.

## License

MIT

---
_Source: https://npm.io/package/require-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
