2016-01-18 21:17:24 +00:00
|
|
|
/// <reference path="./typings/tsd.d.ts" />
|
|
|
|
var remotezip = require("./index.js");
|
|
|
|
var path = require("path");
|
2016-01-20 02:30:03 +00:00
|
|
|
remotezip.get({
|
|
|
|
from: "https://github.com/UmbrellaZone/legaldocs/archive/master.zip",
|
2016-01-20 03:01:21 +00:00
|
|
|
toPath: path.resolve("./test/"),
|
|
|
|
cb: function () {
|
|
|
|
console.log("This is a callback");
|
|
|
|
}
|
2016-01-20 02:30:03 +00:00
|
|
|
});
|