{"name":"git-clone","version":"0.0.2","description":"Clone a git repository","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/jaz303/git-clone.git"},"keywords":["git","clone","shell"],"author":{"name":"Jason Frame","email":"jason@onehackoranother.com","url":"http://jasonframe.co.uk"},"license":"ISC","bugs":{"url":"https://github.com/jaz303/git-clone/issues"},"homepage":"https://github.com/jaz303/git-clone","_id":"git-clone@0.0.2","dist":{"shasum":"fbdf9d6ec9ab3ab5e458756250755c095caf3510","tarball":"http://registry-npm.ywwl.com/git-clone/download/git-clone-0.0.2.tgz","integrity":"sha512-9lqFf4l0+6wJ0bU8t5QkQhPSvOqm/wCEvJpcThEhIYm4X11QdsR4tdxRICDSUuHibO5HGYq63b/sjVZG92GX6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC88RZVLbWfc2jImQO23ugfg9O7303tzNfiJICJeyFM2AIgEieg6HRTyg6Ag+KA6sUyx0YjMPk+Cao+jSpOW82H30Q="}],"size":974,"noattachment":false,"key":"/git-clone/-/git-clone-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"directories":{},"readme":"# git-clone\n\nClone a git repository via `git` shell command.\n\n## Installation\n\nInstall:\n\n    $ npm install git-clone\n\nTo use the original callback-based API:\n\n    const clone = require('git-clone');\n\nAs of 0.2.0 there's a promised-based API for use with `async`/`await`:\n\n    const clone = require('git-clone/promise');\n\n## API\n\n## Common Options\n\n  * `git`: path to `git` binary; default: `git` (expected to be in your `$PATH`)\n  * `shallow`: when `true`, clone with depth 1\n  * `checkout`: revision/branch/tag to check out after clone\n  * `args`: additional array of arguments to pass to `git clone`\n\n## Callback\n\n#### `clone(repo, targetPath, [options], cb)`\n\nClone `repo` to `targetPath`, calling `cb` on completion; any error that occurred will be passed as the first argument. If no error is passed the `git clone` operation was successful.\n\n## Promise\n\n#### `async clone(repo, targetPath, [options])`\n\nClone `repo` to `targetPath`, throwing an exception on failure.\n\n## Contributors\n\n  - [AntiMoron](https://github.com/AntiMoron)\n\n## Copyright &amp; License\n\n&copy; 2014-2021 Jason Frame &amp; Contributors [ [@jaz303](http://twitter.com/jaz303) / [jason@onehackoranother.com](mailto:jason@onehackoranother.com) ]\n\nReleased under the ISC license.\n","publish_time":1402440181259,"_cnpm_publish_time":1402440181259,"dist-tags":{"latest":"0.2.0"}}