I would really know how to output the username in Electron applications. So something like that:
const os = require('os')
const username = // the code or the username so that it can be displayed
document.write("The username is: " + username)
Is that possible?