2017-03-12 21:16:48 +00:00
|
|
|
/// <reference path="../ts/typings/main.d.ts" />
|
|
|
|
var smartarchive = require("./index.js");
|
2016-01-18 21:17:24 +00:00
|
|
|
var path = require("path");
|
2016-01-20 03:01:21 +00:00
|
|
|
|
2017-03-12 21:16:48 +00:00
|
|
|
smartarchive.get({
|
2016-01-20 02:30:03 +00:00
|
|
|
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
|
|
|
});
|