When you run, say, npx webpack
in a terminal, NPX finds a webpack
package somewhere and runs it. How to identify the exact location of the binary that NXP runs? I'm looking for a tool like which in NPX.
Maybe there is an option like this (warning, it's not a real code):
$ npx --which webpack
/users/me/my-project/node_modules/.bin/webpack
It seems the which package has got us covered:
$ npx which webpack
/users/me/my-project/node_modules/.bin/webpack
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With