Like which(1) unix command. Find the first instance of an executable in the PATH.
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.