lurq

npm package

Home

is-npm

is-npm is a utility that checks if your code is running as an npm, yarn, pnpm, or bun script. It is useful for determining the context in which your code is executed, allowing for conditional logic based on the package manager. This can help in writing scripts that behave differently depending on the environment.

lurq health score
59/100
Confidence
proven
Weekly downloads
8,899,093
Latest version
6.1.0
Last release
Sep 10, 2025
License
MIT

Should you depend on is-npm?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks is-npm 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

Upgrading is-npm

What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.

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