browser-or-node 3.0: Figure Out Where Your Code is Running — Provides a simple way to tell...
browser-or-node 3.0: Figure Out Where Your Code is Running — Provides a simple way to tell if your code is currently running in a browser, in Node, in a Web Worker, or in Deno. Works with both ESM and CJS imports.