npm.io
1.0.1 • Published 4 years ago

gitdowne

Licence
MIT
Version
1.0.1
Deps
3
Size
7 kB
Vulns
1
Weekly
0

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")

Keywords