restructure code

This commit is contained in:
2016-01-20 03:30:03 +01:00
parent 7e8081d7b1
commit 666e615b5a
5 changed files with 49 additions and 37 deletions

View File

@@ -1,4 +1,7 @@
/// <reference path="./typings/tsd.d.ts" />
var remotezip = require("./index.js");
var path = require("path");
remotezip({ from: "https://github.com/UmbrellaZone/legaldocs/archive/master.zip", toPath: path.resolve("./test/") });
remotezip.get({
from: "https://github.com/UmbrellaZone/legaldocs/archive/master.zip",
toPath: path.resolve("./test/")
});