gitdowne

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i gitdowne

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

7.39 kB

Total Files

6

Last publish

Collaborators

  • leoranhaoliu