added callback support
This commit is contained in:
5
test.js
5
test.js
@@ -3,5 +3,8 @@ var remotezip = require("./index.js");
|
||||
var path = require("path");
|
||||
remotezip.get({
|
||||
from: "https://github.com/UmbrellaZone/legaldocs/archive/master.zip",
|
||||
toPath: path.resolve("./test/")
|
||||
toPath: path.resolve("./test/"),
|
||||
cb: function () {
|
||||
console.log("This is a callback");
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user