deno_std
deno_std copied to clipboard
suggestion: make `isWindows` cross-runtime in `@std/path`
This variable can currently only be evaluated in browsers and Deno. I suggest making it cross-runtime (i.e., also able to be evaluated on Bun and Node). AFAIK, doing so would make all of @std/path cross-runtime.
https://github.com/denoland/deno_std/blob/f94f8f3580643e4d0b89f338b3927bd9c75b91bf/path/_os.ts#L31