
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
load-plugins
Advanced tools
Load plugins for gulp, grunt, assemble, verb any node.js app that needs to load plugins from node_modules or local folders.
Load plugins for gulp, grunt, assemble, verb any node.js app that needs to load plugins from node_modules or local folders.
Install with npm
$ npm i load-plugins --save
var plugin = require('load-plugins')('gulp-*');
gulp.task('default', function () {
gulp.src('test/*.js')
.pipe(plugin.jshint());
.pipe(plugin.mocha());
});
var plugin = require('load-plugins')('assemble-*');
assemble.task('default', function () {
assemble.src('templates/*.hbs')
.pipe(plugin.paginate());
.pipe(plugin.collections());
.pipe(assemble.dest('dist/'));
});
var plugin = require('load-plugins')('verb-*');
verb.task('default', function () {
verb.src('docs/*.md')
.pipe(plugin.toc());
.pipe(plugin.reflinks());
.pipe(verb.dest('./'));
});
See resolve-dep for additional options.
Pass a custom function for requireing files.
plugins('gulp-*', {
require: function(filepath) {
// do stuff to filepath
}
});
Make plugin names camelcased. By default this is true.
Pass a rename function to change how plugins are named.
plugins('my-plugins-*', {
rename: function (filepath) {
return path.basename(filepath);
}
});
Omit strings from plugin names. This is a complement to the .rename() option, it's easiest to understand by way of example:
plugins('gulp-*', {strip: 'gulp'});
Returns {mocha: [Function]} instead of {'gulp-mocha': [Function]}, and so on.
You may also pass an array of strings to strip, or use braces, e.g.:
// note that the `strip` option doesn't work with full glob patterns, just braces
plugins('{foo,bar}-*', {strip: ['foo', 'bar']});
Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright © 2014-2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on July 05, 2015.
FAQs
Load plugins for gulp, grunt, assemble, verb any node.js app that needs to load plugins from node_modules or local folders.
The npm package load-plugins receives a total of 113 weekly downloads. As such, load-plugins popularity was classified as not popular.
We found that load-plugins demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.