
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
gulp-gh-clone
Advanced tools
Clone github repositories into a specified folder.
Install with npm:
$ npm install gulp-gh-clone --save
var clone = require('gulp-gh-clone');
Returns 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.
Params
options {Object}: Optionsoptions.fn {Function}: Function that takes a file object and returns an array of github repositories.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.returns {Stream}: Stream to be used in a gulp pipeline.Example
var options = {
dest: 'dist',
fn: function(file) {
var data = JSON.parse(file.contents.toString());
return Object.keys(data.dependencies);
}
};
gulp.task('clone', function() {
return gulp.src('package.json')
.pipe(clone(options));
});
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ verb
Install dev dependencies:
$ npm install -d && npm test
Brian Woodward
Copyright © 2016, Brian Woodward. Released under the MIT license.
This file was generated by verb, v0.9.0, on June 17, 2016.
FAQs
Clone github repositories into a specified folder.
We found that gulp-gh-clone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.