apeman-ui
UI server for apeman
Installation
Install apeman-ui module via npm.
$ npm install apeman-ui -g
Usage
- Prepare an Apemanfile.js at your project root.
- Run the command via CLI.
Apemanfile.js
/** Example of Apemanfile.js */ 'use strict' moduleexports = $cwd: __dirname $pkg: /* ... */ $proto: /* ... */ $ui: 'user': { return Promise }
Then,
$ apeman-ui
CLI Options
$ apeman-ui -h Usage: apeman-ui [options] UI server
Programmatic API
apeman-ui also provide programmatic API.
Firstly, install the module locally.
$ npm install apeman-ui --save-dev
Then,
#!/usr/bin/env 'use strict' const apemanUi = const co =
Programmatic Options
Key | Description | Default |
---|---|---|
port | Port number to invoke | |
configuration | Pathname of Apemanfile |
License
This software is released under the MIT License.