1.0.0 • Published 4 years ago

gitrepodownload v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

GitRepoDownload

Please install gitbash before using

Usage

const downLoad=require('./download')
downLoad('https://github.com/VICTORYGS/Web-Static-Server.git').then(d=>{
  console.log(d)
}).catch(e=>{
  console.error(e)
})

API

downLoad(repositoryPath,localPath)

repositoryPath

Type: string

repositoryPath is gitRepository's url.

localPath

Type: string

localPath is a path where you want to store it. if localPath is a relative path, Please prefixed with .