It's a bit more than `process.platform == "win32"` but the bulk of it is boiler-plate for the insanity of multi-standard JS module definitions.
https://github.com/jonschlinkert/is-windows/blame/master/ind...
If you go read the code, you are doing more than most JS developers do when they pull in a massive sequoia of dependencies.