downloads
npm i -g lisa.dl
ldl -h
ldl https://github.com/apporoad/lisa.dl.js.git ldl s
npm i --save lisa.dl
var dl =require('lisa.dl')
// get git
dl.getRepo('https://github.com/apporoad/lisa.dl.js',__dirname + '/temp','git').then(r=>{
console.log(r || 'hello')
})
//get zip of remote
dl.getRepo('https://github.com/apporoad/aok.js/blob/master/example/example.zip?raw=true',__dirname+'/temp','zip').then(r=>{
console.log(r || 'hello')
})
// get local zip
dl.getRepo(__dirname+'/example.zip',__dirname+'/temp','zip').then(r=>{
console.log(r || 'hello')
})