JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 136568
  • Score
    100M100P100Q153427F
  • License ISC

Clone a git repository

Package Exports

  • git-clone

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (git-clone) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

git-clone

Clone a git repository via shell command.

Installation

Install:

$ npm install git-clone

Require:

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

API

clone(repo, targetPath, [options], cb)

Clone repo to targetPath, calling cb on completion.

Supported options:

  • git: path to git binary; default: git.
  • shallow: when true, clone with depth 1.

© 2014 Jason Frame [ @jaz303 / jason@onehackoranother.com ]

Released under the ISC license.