
Security News
AI Has Taken Over Open Source
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain
Load gulp task just like grunt.loadTasks.
If you want to load plugins automatically, gulp-load-tasks will be a good choice.
Install gulp-load
$ npm install --save gulp-load
Require gulp-load in your gulpfile
var gulp = require('gulp');
require('gulp-load')(gulp);
// load tasks from tasks directory and
// dependencies of start with `gulp-` in package.json
gulp.loadTasks(__dirname);
// run tasks which you loaded
gulp.tasks('default', function() {
gulp.run('your_task');
})
Gulp-load will return a function that is same as gulp.loadTasks.
var loadTasks = require('gulp-load')(gulp);
loadTasks === gulp.loadTasks // return true
LoadTasks can load single file.
gulp.loadTasks('path/to/task.js');
LoadTasks can load specified module.
gulp.loadTasks('path/to/module');
LoadTasks can load by module's name. It will lookup from NODE_PATH and node_modules of current module.
gulp.loadTasks('gulp-concat');
If load a module, it will load task from tasks directory of current module, and if gulp plugins (start with gulp-) exists in dependencies of package.json, then it will load each plugin as a module.
MIT
FAQs
Load gulp task just like grunt.loadTasks.
The npm package gulp-load receives a total of 40 weekly downloads. As such, gulp-load popularity was classified as not popular.
We found that gulp-load 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.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain

Security News
npm invalidated all granular access tokens that bypass 2FA after a fresh Mini Shai-Hulud wave compromised 323 npm packages. Staged publishing also entered public preview.

Research
/Security News
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.