zkat / npx

execute npm package binaries (moved)

Home Page:https://github.com/npm/npx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to tell what binary gets executed?

jankalfus opened this issue · comments

If I run for example:
npx tsc -v

How do I tell what binary gets executed?

As far as I can see there is no argument to ask npx what it'll do. Will it execute a locally installed package, or pull a package from the registry etc.? It would be really helpful to see what will happen and not just run npx and hope for the best. Or maybe at least adding a verbose output switch would be helpful. This kind of magic makes me cringe.