smartarchive/test.js

11 lines
313 B
JavaScript
Raw Normal View History

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