environ
Pretty secure detection of Node, browser, Electron, Deno, and other execution environments.
Pretty secure detection of Node, browser, Electron, Deno, and other execution environments.
Detect runtime environment. Supports Node.js, Deno, Bun and browsers.