node-pluginsmanager-plugin
v6.3.3
Published
An abstract parent plugin for node-pluginsmanager
Downloads
128
Readme
node-pluginsmanager-plugin
An abstract parent plugin for node-pluginsmanager
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
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