| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 | .HR.Psection: cli\-commands title: npm\-exploredescription: Browse an installed package.HR.TH "NPM\-EXPLORE" "1" "August 2021" "" "".SH "NAME"\fBnpm-explore\fR \- Browse an installed package.SS Synopsis.P.RS 2.nfnpm explore <pkg> [ \-\- <command>].fi.RE.SS Description.PSpawn a subshell in the directory of the installed package specified\..PIf a command is specified, then it is run in the subshell, which thenimmediately terminates\..PThis is particularly handy in the case of git submodules in the\fBnode_modules\fP folder:.P.RS 2.nfnpm explore some\-dependency \-\- git pull origin master.fi.RE.PNote that the package is \fInot\fR automatically rebuilt afterwards, so besure to use \fBnpm rebuild <pkg>\fP if you make any changes\..SS Configuration.SS shell.RS 0.IP \(bu 2Default: SHELL environment variable, or "bash" on Posix, or "cmd" onWindows.IP \(bu 2Type: path.RE.PThe shell to run for the \fBnpm explore\fP command\..SS See Also.RS 0.IP \(bu 2npm help folders.IP \(bu 2npm help edit.IP \(bu 2npm help rebuild.IP \(bu 2npm help build.IP \(bu 2npm help install.RE
 |