/node-pluginsmanager-plugin

An abstract parent plugin for node-pluginsmanager

Primary LanguageJavaScriptISC LicenseISC

node-pluginsmanager-plugin

An abstract parent plugin for node-pluginsmanager

Build status Coverage status Dependency status Dev dependency status Issues Pull requests

Installation

$ npm install node-pluginsmanager-plugin

Features

  • inheritable parent for node-pluginsmanager's plugins
  • proper architecture for simple plugin creation
  • heritable classes for each usage
  • multi-files support

Architecture

Functional

=> See doc

Resume

  • Descriptor : OpenAPI (v3) description for Server and Mediator endpoints (this is NOT a js file, but a json/xaml/whatever OpenAPI file)
  • Mediator : contains the plugin's logic (communication with targeted device/api/whatever)
  • Server : expose plugin's roots to external use (API)
  • Orchestrator : plugin's data (extracted from plugin's package.json) and Descriptor, Mediator & Server initializer

Tests

$ git clone git://github.com/Psychopoulet/node-pluginsmanager-plugin.git
$ cd ./node-pluginsmanager-plugin
$ npm install
$ npm run-script tests

License

ISC