lurq

npm package

Home

browser-or-node

The 'browser-or-node' package allows developers to determine the execution environment of their code, whether it's in a browser, Node. js, web worker, jsdom, or Deno. It is useful for writing environment-specific code in applications that may run in multiple contexts.

lurq health score
40/100
Confidence
unproven
Weekly downloads
3,686,446
Latest version
3.0.0
Last release
Apr 18, 2024
License
MIT

Should you depend on browser-or-node?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks browser-or-node at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.