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
61/100
Confidence
proven
Weekly downloads
12,783,432
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

Other utility packages lurq scores

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