hadron-plugin-manager

5.3.1 • 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

Dependencies (4)

Dev Dependencies (8)

Package Sidebar

Install

npm i hadron-plugin-manager

Weekly Downloads

0

Version

5.3.1

License

Apache-2.0

Unpacked Size

19.3 kB

Total Files

8

Last publish

Collaborators

  • durran