{"_id":"git-clone","_rev":"1013305","name":"git-clone","description":"Clone a git repository","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"time":{"modified":"2021-09-28T09:46:00.000Z","created":"2014-06-10T22:41:24.794Z","0.2.0":"2021-09-28T09:38:52.503Z","0.1.0":"2015-03-01T11:56:54.417Z","0.0.4":"2014-06-18T17:03:08.748Z","0.0.3":"2014-06-10T22:51:24.167Z","0.0.2":"2014-06-10T22:43:01.259Z","0.0.1":"2014-06-10T22:41:24.794Z"},"users":{"micjamking":true,"tinyhill":true,"madmamma81":true,"rocket0191":true,"jamet":true,"wujr5":true,"reggiezhang":true},"author":{"name":"Jason Frame","email":"jason@onehackoranother.com","url":"http://jasonframe.co.uk"},"repository":{"type":"git","url":"git://github.com/jaz303/git-clone.git"},"versions":{"0.2.0":{"name":"git-clone","version":"0.2.0","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","gitHead":"1f00fa820a2f22abff2fda7ed60c6bec7e24d70c","_id":"git-clone@0.2.0","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"shasum":"9dce00facbab227d2562150052cd4a3a7ec15c41","size":2392,"noattachment":false,"key":"/git-clone/-/git-clone-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-clone/download/git-clone-0.2.0.tgz"},"_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"directories":{},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-clone_0.2.0_1632821932339_0.7815728029726523"},"_hasShrinkwrap":false,"publish_time":1632821932503,"_cnpm_publish_time":1632821932503},"0.1.0":{"name":"git-clone","version":"0.1.0","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","gitHead":"ddb88d4d1dca74e8330eccb7997badd6a6906b98","_id":"git-clone@0.1.0","_shasum":"0d76163778093aef7f1c30238f2a9ef3f07a2eb9","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.35","_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"dist":{"shasum":"0d76163778093aef7f1c30238f2a9ef3f07a2eb9","size":1348,"noattachment":false,"key":"/git-clone/-/git-clone-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-clone/download/git-clone-0.1.0.tgz"},"directories":{},"publish_time":1425211014417,"_cnpm_publish_time":1425211014417,"_hasShrinkwrap":false},"0.0.4":{"name":"git-clone","version":"0.0.4","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.4","dist":{"shasum":"73ef3c1d25568dcc73ab93fca5d100fa73543d92","size":1026,"noattachment":false,"key":"/git-clone/-/git-clone-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-clone/download/git-clone-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"directories":{},"publish_time":1403110988748,"_cnpm_publish_time":1403110988748,"_hasShrinkwrap":false},"0.0.3":{"name":"git-clone","version":"0.0.3","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.3","dist":{"shasum":"c7252e4cd9c1910b3b2e060379445c8dbb199982","size":1018,"noattachment":false,"key":"/git-clone/-/git-clone-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-clone/download/git-clone-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"directories":{},"publish_time":1402440684167,"_cnpm_publish_time":1402440684167,"_hasShrinkwrap":false},"0.0.2":{"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","size":974,"noattachment":false,"key":"/git-clone/-/git-clone-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-clone/download/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":{},"publish_time":1402440181259,"_cnpm_publish_time":1402440181259,"_hasShrinkwrap":false},"0.0.1":{"name":"git-clone","version":"0.0.1","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.1","dist":{"shasum":"c1d5f439d424daa2067a9aab336020a0f8359fb2","size":970,"noattachment":false,"key":"/git-clone/-/git-clone-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-clone/download/git-clone-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"jaz303","email":"jason@onehackoranother.com"},"maintainers":[{"name":"jaz303","email":"jason@onehackoranother.com"}],"directories":{},"publish_time":1402440084794,"_cnpm_publish_time":1402440084794,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/jaz303/git-clone","bugs":{"url":"https://github.com/jaz303/git-clone/issues"},"license":"ISC"}