https://github.com/mikolalysenko/untar-all
Untars a stream, unpacking all the files into memory
https://github.com/mikolalysenko/untar-all
Last synced: 4 months ago
JSON representation
Untars a stream, unpacking all the files into memory
- Host: GitHub
- URL: https://github.com/mikolalysenko/untar-all
- Owner: mikolalysenko
- License: mit
- Created: 2013-07-29T21:11:15.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-29T21:15:20.000Z (over 12 years ago)
- Last Synced: 2025-06-16T06:04:44.907Z (6 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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