npm-which

JSON →
library 3.0.1 ·javascript
verified May 27, 2026

Locates executables from locally or parent-installed node modules, similar to `which` but respecting npm's PATH. Version 3.0.1 is stable with no recent releases. Key differentiator: it is faster than shelling out to `npm bin` and works across the node_modules hierarchy, not just the current directory. Supports both async and sync APIs, and a CLI. Requires Node >=4.2.0, no runtime dependencies.

total hits 14
actors 6 distinct systems
last hit 2d ago AhrefsBot
GPTBot
2
Script
2
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇵🇱 Poland · 🇲🇽 Mexico · 🇩🇪 Germany