appcd-plugin

4.2.8 • Public • Published

appcd-plugin

A complete plugin system for the Appc Daemon.

Visit https://github.com/appcelerator/appc-daemon for more information.

Report issues to GitHub issues. Official issue tracker in JIRA.

Installation

npm i appcd-plugin

Usage

import PluginManager from 'appcd-plugin';
import Dispatcher from 'appcd-dispatcher';

const pm = new PluginManager();

Dispatcher.register('/plugin', pm);

await Dispatcher.call('/plugin/register', { path: '/path/to/myplugin' });

const ctx = await Dispatcher.call('/myplugin/latest');
console.log(ctx.response);
await pm.shutdown();

Legal

This project is open source under the Apache Public License v2 and is developed by Axway, Inc and the community. Please read the LICENSE file included in this distribution for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i appcd-plugin

Weekly Downloads

3

Version

4.2.8

License

Apache-2.0

Unpacked Size

443 kB

Total Files

22

Last publish

Collaborators

  • cb1kenobi
  • awam
  • tisdk