apeman-proto-dynamic
v3.0.3
Published
Prototype for dynamic app.
Downloads
41
Readme
apeman-proto-dynamic
Prototype for dynamic app.
Installation
$ npm install apeman-proto-dynamic --save
Usage
'use strict'
module.exports = {
$ctx: {
/** Milliseconds for delay */
delayDuration: 0,
/** Log file path */
logFile: 'var/log/my-app.log',
/** Log rotation */
logRotate: 'daily', // "daily", "test", "h", "m" or false
/** Supported langs */
supportedLangs: [ 'en', 'ja' ]
},
$pkg: { /* ... */ },
$proto: [
// Inherit apeman-proto-dynamic project.
require('apeman-proto-dynamic')
],
$tmpls: { /* ... */ },
$tasks: { /* ... */ }
}
Apemanfile Configurations
$pkg
| Name | Value | | --- | ---- | | name | apeman-proto-dynamic | | version | 3.0.3 | | description | Prototype for dynamic app. |
$proto
$apps
| Name | Description | | ---- | --- | | dynamic:body | {} | | dynamic:delay | Add delay. | | dynamic:env | Set env header to response. | | dynamic:log | Log requests. | | dynamic:middleware | {"/":[]} |
$needs
| Bin | How to install |
| --- | ----- |
| apeman | npm install -g apeman
|
License
This software is released under the MIT License.