http://stackoverflow.com/questions/8683895/variable-to-detect-operating-system-in-node-scripts?answertab=votes#tab-top
windows returns 'win32', even on 64 bit operation systems. i.e. process.platform === 'win32' is sufficient –  Raynos Dec 30 '11 at 21:44