%
title = 'configuration'
description = 'The version, command line parameters, and process information about this running mb process'
%>
<%- include('_header') -%>
<%
function isJSONObject (value) {
return typeof value === 'object' && !Array.isArray(value);
}
function prettyPrint (value) {
return isJSONObject(value) ? JSON.stringify(value, null, 2) : value;
}
%>
Config
version |
<%= version %> |
<% Object.keys(options).forEach(key =>{ %>
<%= key %> |
<% if (isJSONObject(options[key])) { -%><% } -%><%= prettyPrint(options[key]) %><% if (isJSONObject(options[key])) { -%> <% } -%>
|
<% }); -%>
Process Information
node version |
<%= process.nodeVersion %> |
architecture |
<%= process.architecture %> |
platform |
<%= process.platform %> |
rss |
<%= process.rss %> |
heapTotal |
<%= process.heapTotal %> |
heapUsed |
<%= process.heapUsed %> |
uptime |
<%= process.uptime %> |
cwd |
<%= process.cwd %> |
<%- include('_footer') -%>