1 npm-explore(1) -- Browse an installed package
2 =============================================
6 npm explore <name> [ -- <cmd>]
10 Spawn a subshell in the directory of the installed package specified.
12 If a command is specified, then it is run in the subshell, which then
13 immediately terminates.
15 This is particularly handy in the case of git submodules in the
16 `node_modules` folder:
18 npm explore some-dependency -- git pull origin master
20 Note that the package is *not* automatically rebuilt afterwards, so be
21 sure to use `npm rebuild <pkg>` if you make any changes.
27 * Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
31 The shell to run for the `npm explore` command.