Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

hadron-plugin-manager

5.3.0 • Public • Published

hadron-plugin-manager

Hadron Plugin Manager

Installation

npm install --save hadron-plugin-manager

Usage

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);

License

Apache 2.0

Keywords

install

npm i hadron-plugin-manager

Downloadsweekly downloads

128

version

5.3.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability