1NPM-EXPLORE(1)                                                  NPM-EXPLORE(1)
2
3
4

NAME

6       npm-explore - Browse an installed package
7

SYNOPSIS

9         npm explore <pkg> [ -- <command>]
10

DESCRIPTION

12       Spawn a subshell in the directory of the installed package specified.
13
14       If  a  command is specified, then it is run in the subshell, which then
15       immediately terminates.
16
17       This is particularly handy  in  the  case  of  git  submodules  in  the
18       node_modules folder:
19
20         npm explore some-dependency -- git pull origin master
21
22       Note  that  the  package is not automatically rebuilt afterwards, so be
23       sure to use npm rebuild <pkg> if you make any changes.
24

CONFIGURATION

26   shell
27       · Default: SHELL environment variable, or "bash" on Posix, or "cmd"  on
28         Windows
29
30       · Type: path
31
32
33       The shell to run for the npm explore command.
34

SEE ALSO

36       · npm help 5 folders
37
38       · npm help edit
39
40       · npm help rebuild
41
42       · npm help build
43
44       · npm help install
45
46
47
48
49
50                                 October 2019                   NPM-EXPLORE(1)
Impressum