npm-explore - Browse an installed package Synopsis npm explore <pkg> [ -- <command>] Note: This command is unaware of workspaces. Description Spawn a subshell in the directory of the installed package specified. If a command is specified, then it is run in the subshell, which then immediately terminates. This is particularly handy in the case of git submodules in the node_modules folder: npm explore some-dependency -- git pull origin master Note that the package is not automatically rebuilt afterwards, so be sure to use npm rebuild <pkg> if you make any changes. Configuration shell o Default: SHELL environment variable, or "bash" on Posix, or "cmd.exe" on Windows o Type: String The shell to run for the npm explore command. See Also o npm help folders o npm help edit o npm help rebuild o npm help install
Please see following description for synopsis
NPM-EXPLORE(1) NPM-EXPLORE(1)
NAME
npm-explore - Browse an installed package
Synopsis
npm explore <pkg> [ -- <command>]
Note: This command is unaware of workspaces.
Description
Spawn a subshell in the directory of the installed package specified.
If a command is specified, then it is run in the subshell, which then
immediately terminates.
This is particularly handy in the case of git submodules in the
node_modules folder:
npm explore some-dependency -- git pull origin master
Note that the package is not automatically rebuilt afterwards, so be
sure to use npm rebuild <pkg> if you make any changes.
Configuration
shell
o Default: SHELL environment variable, or "bash" on Posix, or "cmd.exe"
on Windows
o Type: String
The shell to run for the npm explore command.
See Also
o npm help folders
o npm help edit
o npm help rebuild
o npm help install
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+--------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+--------------------------+
|Availability | runtime/nodejs/nodejs-18 |
+---------------+--------------------------+
|Stability | Pass-thru volatile |
+---------------+--------------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://github.com/nodejs/node/ar-
chive/v18.1.0.zip.
Further information about this software can be found on the open source
community website at https://github.com/nodejs/node.
April 2022 NPM-EXPLORE(1)