'use strict'; const express = require('express'); const PORT = 8080; const HOST = '0.0.0.0'; const app = express(); app.get('/', (req, res) => { res.send('mi-processor\n'); }); app.listen(PORT, HOST); console.log(`Running on http://${HOST}:${PORT}`); var keys = []; for(var key in process.env) { if (key.startsWith("npm")) { continue; } keys[keys.length] = key; } keys.sort() console.log("ENV"); for (var idx in keys) { const key = keys[idx]; const value = process.env[key]; console.log(" " + key + "=" + value); }