5.4.1 • Published 6 years ago
imergo-http-server v5.4.1
imergo-http-server
imergo® HTTP(S) base server.
Class ImergoApp
Locals
Represented through the constructor parameter object locals
. Its default properties are:
Property | Default value |
---|---|
port | 8234 |
hostname | "127.0.0.1" |
pkg | own package.json file |
name | constructed through its own package.json file |
logger | require("imergo-logger")("imergo-http-server") |
Settings
Represented through the constructor parameter object settings
. Its default properties are:
Property | Default value |
---|---|
accessLogFile | |
accessLogStream | |
public | |
views | |
cors | true |
compress | true |
etag | "strong" |
helmet | false |
passport | false |
session | false |
trustProxy | false |
Install
npm install git+https://gitlab.fit.fraunhofer.de/webcc-open/imergo-http-server
Test
Test under Linux:
npm test
Test under Windows:
npm run test-win
5.4.1
6 years ago