npm-explore(1)

npm-explore1

Usage

<!-- AUTOGENERATED USAGE DESCRIPTIONS -->

Note: This command is unaware of workspaces.

Overview

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

<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->

Releases

5 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 10
  3. 11
  4. 12
  5. 13

From npm 9.2.0~ds1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.