Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

mongodb-js/hadron-plugin-manager

Repository files navigation

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

About

Simple plugin manager for composable Hadron applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •