Object.keys(process.versions).forEach((e) => { v = process.versions[e]; document.write("
" + e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors
"); }) dirs = require('fs').readdirSync("./node_modules"); dirs.forEach((dir) => { if (!dir.startsWith(".") && !dir.startsWith("@") && dir !== "electron") { j = JSON.parse(require('fs').readFileSync("./node_modules/" + dir + "/package.json").toString()); if (typeof j.author === "string") { document.write("
" + j.author + "
"); } else { document.write("
" + j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors
"); } } })