import * as isWindows from 'is-windows'; const bool: boolean = isWindows();