Node.js — Detect if Running on Windows
Sometimes it’s necessary to detect the operating system running the Node.js process. Node.js comes with the built-in os module providing methods to detect the current platform. Use the methods to create a utility function detecting whether you’re currently running Node.js on Windows. {{outline}} Check if …
Continue Reading