@mongodb-js/hadron-plugin-manager

7.0.21 • Public • Published

@mongodb-js/hadron-plugin-manager

Hadron Plugin Manager

Installation

npm install --save @mongodb-js/hadron-plugin-manager

Usage

const pluginsPath = path.join(__dirname, 'plugins');
const intPluginsPath = path.join(__dirname, 'internal-plugins');
const PluginManager = require('@mongodb-js/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);

Readme

Keywords

Package Sidebar

Install

npm i @mongodb-js/hadron-plugin-manager

Weekly Downloads

11

Version

7.0.21

License

SSPL

Unpacked Size

40.7 kB

Total Files

11

Last publish

Collaborators

  • dbx-node
  • nbbeeken
  • orechova
  • himanshusinghs
  • c-buckingham
  • mongo-j
  • mabaasit
  • alexander_schroll
  • mongodb-js-user
  • rueckstiess
  • durran
  • lerouxb
  • fredtruman
  • mbroadst
  • hswolff
  • satyasinha
  • matt_d_rat
  • rhysm
  • tomhollander
  • alena.khineika
  • jeff-allen-mongo
  • mmarcon
  • jonathan.balsano
  • mongodb-build
  • jack.weir
  • mcasimir
  • kristina.stefano
  • jarjee
  • shaketbaby
  • devtoolsbot
  • addaleax
  • gribnoysup
  • mutukrish