gitdowne
v1.0.1
Published
easy using to download a git repo without `.git` file.
Downloads
1
Maintainers
Readme
easy using to download a git repo without .git
file.
you can using with like that
import Gitdowne from "gitdowne"
const git = new Gitdowne()
let result = await git.download("direct:https://github.com/ranhaoliuLeo/test.git", "./download")
or using like that
- GitHub - github:owner/name or simply owner/name
- GitLab - gitlab:owner/name
- Bitbucket - bitbucket:owner/name
import Gitdowne from "gitdowne"
const git = new Gitdowne()
let result = await git.download("github:ranhaoliuLeo/test.git", "./download")