Uzyskaj węzeł platformy
const os = require('os');
console.log('Platform: ${os.platform()}');
Splendid Skipper
const os = require('os');
console.log('Platform: ${os.platform()}');
var isWin = process.platform === "win32";