tar-files
convenience wrapper around fs gunzip and node-tar to stream file entries' data.
var te = var eos = // the first argument may be a file name or a readable stream.
this example saves the README.md
file from package.tar to the file ./tar-README.md
-
works with gzipped or not compressed tars.
-
pass in a stream or a file name