mirror of
https://github.com/electron/node-gyp.git
synced 2025-09-16 14:03:39 +02:00
Commit node_modules.
For @billywhizz :) And cause it's just an all around good idea for command-line apps.
This commit is contained in:
parent
d39620999f
commit
24bde139e1
255 changed files with 20261 additions and 0 deletions
11
node_modules/tar/examples/extracter.js
generated
vendored
Normal file
11
node_modules/tar/examples/extracter.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
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")
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue