Hadron Plugin Manager
npm install --save hadron-plugin-manager
const pluginsPath = path.join(__dirname, 'plugins');
const intPluginsPath = path.join(__dirname, 'internal-plugins');
const PluginManager = require('hadron-plugin-manager');
const AppRegistry = require('hadron-app-registry');
const manager = new PluginManager(
[ intPluginsPath, pluginsPath ],
__dirname,
['external-plugins/example3']
);
const appRegistry = new AppRegistry();
manager.activate(appRegistry);
Apache 2.0