0.0.2 • Published 7 years ago

git-shallow-clone v0.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

git-shallow-clone

Shallow clone a git repository. The module will copy only the latest revision of the repository. Shallow cloning saves considerable amount of time compared to deep cloning.

Installation

Install:

$ npm install git-shallow-clone

Require:

var clone = require('git-shallow-clone')

Usage

clone(repo, targetPath, cb)

Clone repo to targetPath, calling cb on completion.

License

Released under the MIT license.