smartarchive/ts/test.ts

11 lines
308 B
TypeScript
Raw Normal View History

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 03:01:21 +00:00
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
});