{"id":15743942,"url":"https://github.com/doowb/gulp-gh-clone","last_synced_at":"2025-03-13T11:30:36.765Z","repository":{"id":57257655,"uuid":"61406553","full_name":"doowb/gulp-gh-clone","owner":"doowb","description":"Clone github repositories into a specified folder.","archived":false,"fork":false,"pushed_at":"2016-06-17T22:54:38.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T19:52:02.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doowb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-17T22:50:00.000Z","updated_at":"2021-04-12T22:03:29.000Z","dependencies_parsed_at":"2022-08-25T21:22:41.550Z","dependency_job_id":null,"html_url":"https://github.com/doowb/gulp-gh-clone","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fgulp-gh-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fgulp-gh-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fgulp-gh-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fgulp-gh-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/gulp-gh-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243395964,"owners_count":20284244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T03:22:07.763Z","updated_at":"2025-03-13T11:30:36.414Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-gh-clone [![NPM version](https://img.shields.io/npm/v/gulp-gh-clone.svg?style=flat)](https://www.npmjs.com/package/gulp-gh-clone) [![NPM downloads](https://img.shields.io/npm/dm/gulp-gh-clone.svg?style=flat)](https://npmjs.org/package/gulp-gh-clone) [![Build Status](https://img.shields.io/travis/doowb/gulp-gh-clone.svg?style=flat)](https://travis-ci.org/doowb/gulp-gh-clone)\n\nClone github repositories into a specified folder.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install gulp-gh-clone --save\n```\n\n## Usage\n\n```js\nvar clone = require('gulp-gh-clone');\n```\n\n## API\n\n### [clone](index.js#L37)\n\nReturns a vinyl stream that will all the given function for each file coming through. The function should return an array of github repositories to be cloned.\n\n**Params**\n\n* `options` **{Object}**: Options\n* `options.fn` **{Function}**: Function that takes a `file` object and returns an array of github repositories.\n* `options.dest` **{String|Function}**: Destination path to clone the repos to. If a function, then it will be called with the repo name and expect a string to be returned.\n* `returns` **{Stream}**: Stream to be used in a gulp pipeline.\n\n**Example**\n\n```js\nvar options = {\n  dest: 'dist',\n  fn: function(file) {\n    var data = JSON.parse(file.contents.toString());\n    return Object.keys(data.dependencies);\n  }\n};\n\ngulp.task('clone', function() {\n  return gulp.src('package.json')\n    .pipe(clone(options));\n});\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/gulp-gh-clone/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb \u0026\u0026 npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d \u0026\u0026 npm test\n```\n\n## Author\n\n**Brian Woodward**\n\n* [github/doowb](https://github.com/doowb)\n* [twitter/doowb](http://twitter.com/doowb)\n\n## License\n\nCopyright © 2016, [Brian Woodward](https://github.com/doowb).\nReleased under the [MIT license](https://github.com/doowb/gulp-gh-clone/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on June 17, 2016._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fgulp-gh-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Fgulp-gh-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fgulp-gh-clone/lists"}