# url-tar

> Stream urls to tar

Latest version **1.1.0** (published 2016-12-15) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-12-15 |
| First published | 2016-07-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Joe Hand |
| Maintainers | jhand |

## Links

- npm: https://www.npmjs.com/package/url-tar
- Repository: https://github.com/joehand/url-tar
- Homepage: https://github.com/joehand/url-tar#readme
- Issues: https://github.com/joehand/url-tar/issues
- npm.io page: https://npm.io/package/url-tar

## Dependencies (4)

- [debug](https://npm.io/package/debug.md) ^2.4.4
- [request](https://npm.io/package/request.md) ^2.79.0
- [mime-types](https://npm.io/package/mime-types.md) ^2.1.13
- [tar-stream](https://npm.io/package/tar-stream.md) ^1.5.2

## Recent versions

- 1.1.0 (latest) — 2016-12-15
- 1.0.1 — 2016-12-15
- 1.0.0 — 2016-07-13

## README

# Url to Tarball

Stream url(s) to a tarball. 

Tries to write correct file extensions and index.html

## Usage

```javascript
var fs = require('fs')
var urlTar = require('url-tar')

var path = 'YourTarBall.tar'
var yourTarball = fs.createWriteStream(path)

// pipe the urlTar stream to your tar file
urlTar('http://google.com').pipe(yourTarball)
yourTarball.on('close', function () {
  console.log(path + ' has been written')
})
```

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