const os = require("os"); module.exports = (req, res) => { res.writeHead(200, {'Content-Type':'text/plain'}); const os = require('os'); res.write( " _____ _ _ ____ ____\n" + "| ____|__ _ _ _ ___ ___| |_ _ __(_) __ _| _ \\| __ )\n" + "| _| / _` | | | |/ _ \\/ __| __| '__| |/ _` | | | | _ \\\n" + "| |__| (_| | |_| | __/\\__ \\ |_| | | | (_| | |_| | |_) |\n" + "|_____\\__, |\\__,_|\\___||___/\\__|_| |_|\\__,_|____/|____/\n" + " |_|" + "\n\n" + "==============================\n" + "Runtime Information:\n" + " EquestriaDB version: " + variables.version + "\n NodeJS version: " + process.versions.node + "\n System: " + os.type() + " " + os.arch() + " " + os.release() + "\n User: " + os.userInfo().username + " (" + os.userInfo().uid + ":" + os.userInfo().gid + ")" + "\n\n" + "==============================\n" + "Get libeqdb:\n" + " PHP: -\n NodeJS: -\n JavaScript (browser): -\n Bash: -\n Python: -" + "\n\n" + "==============================\n" + "About EquestriaDB:\n" + " Setting up: -\n API: -\n Maintenance tasks: -\n Optimizations: -" + "\n\n" ); res.end(); }