Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via pnpm

download-git-repo 3.0.2

Download and extract a git repository (GitHub, GitLab, Bitbucket) from node.
Package summary
Share
3
issues
2
high severity
vulnerability
2
1
moderate severity
vulnerability
1
5
licenses
107
MIT
12
ISC
2
BSD-3-Clause
2
other licenses
BSD-2-Clause
1
Apache-2.0
1
Package created
13 Jan 2016
Version published
12 Oct 2019
Maintainers
1
Total deps
123
Direct deps
3
License
MIT

Issues

3

2 high severity issues

high
Recommendation: Upgrade to version 4.1.1 or later
via: download@7.1.0
Recommendation: None
via: git-clone@0.1.0
Collapse
Expand

1 moderate severity issue

moderate
Recommendation: Upgrade to version 11.8.5 or later
via: download@7.1.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
107 Packages, Including:
@sindresorhus/is@0.7.0
@types/keyv@3.1.4
@types/node@20.12.11
@types/responselike@1.0.3
archive-type@4.0.0
balanced-match@1.0.2
base64-js@1.5.1
bl@1.2.3
brace-expansion@1.1.11
buffer-alloc-unsafe@1.1.0
buffer-alloc@1.2.0
buffer-crc32@0.2.13
buffer-fill@1.0.0
buffer@5.7.1
cacheable-request@2.1.4
caw@2.0.1
clone-response@1.0.2
commander@2.20.3
concat-map@0.0.1
config-chain@1.1.13
content-disposition@0.5.4
core-util-is@1.0.3
decode-uri-component@0.2.2
decompress-response@3.3.0
decompress-tar@4.1.1
decompress-tarbz2@4.1.1
decompress-targz@4.1.1
decompress-unzip@4.0.1
decompress@4.2.1
download-git-repo@3.0.2
download@7.1.0
end-of-stream@1.4.4
escape-string-regexp@1.0.5
ext-list@2.2.2
ext-name@5.0.0
fd-slicer@1.1.0
file-type@3.9.0
file-type@4.4.0
file-type@5.2.0
file-type@6.2.0
file-type@8.1.0
filename-reserved-regex@2.0.0
filenamify@2.1.0
from2@2.3.0
fs-constants@1.0.0
get-proxy@2.1.0
get-stream@2.3.1
get-stream@3.0.0
got@8.3.2
has-symbol-support-x@1.4.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
12 Packages, Including:
fs.realpath@1.0.0
git-clone@0.1.0
glob@7.2.3
graceful-fs@4.2.11
inflight@1.0.6
inherits@2.0.4
ini@1.3.8
minimatch@3.1.2
once@1.4.0
proto-list@1.2.4
rimraf@3.0.2
wrappy@1.0.2

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
duplexer3@0.1.5
ieee754@1.2.1

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
http-cache-semantics@3.8.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
tunnel-agent@0.6.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of download-git-repo 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
download7.1.02.86 kBMIT
prod
1
1
git-clone0.1.01.32 kBISC
prod
1
rimraf3.0.26.33 kBISC
prod

Visualizations

Frequently Asked Questions

What does download-git-repo do?

The "download-git-repo" is an efficient npm package that allows you to download and extract the contents of a git repository from diverse sources, including GitHub, GitLab, and Bitbucket. It operates directly from your node environment.

How do you use download-git-repo?

To use "download-git-repo", you first need to install it into your node environment. You can quickly do that by running the npm command npm install download-git-repo. Once the package is installed, you can download a git repository by calling the download() function, providing it with the repository as a shorthand string, the destination of the downloaded repository, the options for the download, and a callback function.

For example, if you want to use "download-git-repo" to download a public Github repository via the http download method, follow the code snippet mentioned below:

var download = require('download-git-repo')

download('github:owner/name', 'destination', function(err) {
  console.log(err ? 'Error' : 'Success')
})

Similarly, if you want to download a private repository via git clone, you can alter the options configuration like following:

download('gitlab:owner/name', 'destination', { clone: true }, function(err) {
  console.log(err ? 'Error' : 'Success')
})

The callback function is used to handle any potential errors during the download process.

Where are the download-git-repo docs?

The detailed "download-git-repo" documentation and more examples can be found within the official GitHub repository: download-git-repo GitHub page. It covers the api, details of each function parameter, and provides multiple examples for the ease of the users.