Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikolalysenko/untar-all

Untars a stream, unpacking all the files into memory
https://github.com/mikolalysenko/untar-all

Last synced: 7 days ago
JSON representation

Untars a stream, unpacking all the files into memory

Awesome Lists containing this project

README

        

untar-all
=========
Untars all the files in a tar stream.

Example
=======

```javascript
var untarAll = require("untar-all")

untarAll(process.stdin, function(err, result) {
console.log("tar stream contents:", results)
})
```

Install
=======

npm install untar-all

### `require("untar-all)(stream, callback(err, result) )`
Untars a tar stream in memory.

* `stream` is a stream which gets untar'd
* `callback(err, result)` gets the results of untarring the stream

## Credits
(c) 2013 Mikola Lysenko. MIT License