There are questions about OS version on the Stack Overflow but not about the Windows name, I am looking to find out Windows name using Node.js.
I have looked into so
var os = require('os'); console.log(os.type());
refer to this link for more references: https://millermedeiros.github.io/mdoc/examples/node_api/doc/os.html
The other alternative can be the npm library : "platform"
check this out: https://www.npmjs.com/package/platform