Ninjas Practicing Multidimensionality
Wondering what’s next for npm?Check out our public roadmap! »

pipe-extract-file

1.0.1 • Public • Published

Pipe Extract File

Description

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

Sample

const { createWriteStream, createReadStream } = require('fs'),
      extract                                 = require('pipe-extract-file')
 
  ;
 
createReadStream( <source> )
  .pipe( extract( <file-format>, <file-to-extract> ) )
  .pipe( createWriteStream( <destination> ) )

Keywords

none

Install

npm i pipe-extract-file

DownloadsWeekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.72 kB

Total Files

4

Last publish

Collaborators

  • avatar