appcd-config-service

Appc Daemon service for managing the appcd configuration.

Usage no npm install needed!

<script type="module">
  import appcdConfigService from 'https://cdn.skypack.dev/appcd-config-service';
</script>

README

appcd-config-service

Appc Daemon service for managing the appcd configuration.

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

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

Installation

npm i appcd-config-service

Usage

import ConfigService from 'appcd-config-service';
import Config from 'appcd-config';
import Dispatcher from 'appcd-dispatcher';

const cfg = new Config({ config: { foo: 'bar' } });
const svc = new ConfigService(cfg);

Dispatcher.register('/some/path', svc);

const ctx = await Dispatcher.call('/some/path');
console.log(ctx.response);

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.