mirror of
https://github.com/electron/node-gyp.git
synced 2025-09-15 21:53:38 +02:00
11 lines
295 B
JavaScript
11 lines
295 B
JavaScript
var tar = require("../tar.js")
|
|
, fs = require("fs")
|
|
|
|
fs.createReadStream(__dirname + "/../test/fixtures/c.tar")
|
|
.pipe(tar.Extract({ path: __dirname + "/extract" }))
|
|
.on("error", function (er) {
|
|
console.error("error here")
|
|
})
|
|
.on("end", function () {
|
|
console.error("done")
|
|
})
|