# pipe-extract-file

> Extract a single file from zip using a pipe supporting tar zip gz

Latest version **1.0.1** (published 2018-09-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install pipe-extract-file
pnpm add pipe-extract-file
yarn add pipe-extract-file
bun add pipe-extract-file
```

## 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.0.1 |
| Published | 2018-09-18 |
| First published | 2018-09-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kasthor |

## Links

- npm: https://www.npmjs.com/package/pipe-extract-file
- npm.io page: https://npm.io/package/pipe-extract-file

## Dependencies (2)

- [unzipper](https://npm.io/package/unzipper.md) ^0.9.3
- [tar-stream](https://npm.io/package/tar-stream.md) ^1.6.1

## Recent versions

- 1.0.1 (latest) — 2018-09-18
- 1.0.0 — 2018-09-18

## README

# Pipe Extract File

## Description

Extracts a single file from a compressed file, supporting tar/unzip/gzip file formats

## Sample

```javascript
const { createWriteStream, createReadStream } = require('fs'),
      extract                                 = require('pipe-extract-file')

  ;

createReadStream( <source> )
  .pipe( extract( <file-format>, <file-to-extract> ) )
  .pipe( createWriteStream( <destination> ) )
```

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