UNPKG

nodeplotlib

Version:

NodeJS frontend-less plotting lib using plotly.js inspired by matplotlib

13 lines 347 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getPort = void 0; function getPort() { const portAsString = process.env.NODEPLOTLIB_PORT; const port = Number(portAsString); if (isNaN(port)) { return 0; } return port; } exports.getPort = getPort; //# sourceMappingURL=get-port.js.map