9b388fa27c5ef3ad201725e57d6feeeb1a037e1b
[platform/upstream/nodejs.git] / deps / npm / man / man1 / npm-explore.1
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-EXPLORE" "1" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-explore\fR \-\- Browse an installed package
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm explore <name>[@<version>] [ \-\- <cmd>]
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 Spawn a subshell in the directory of the installed package specified\.
18 .
19 .P
20 If a command is specified, then it is run in the subshell, which then
21 immediately terminates\.
22 .
23 .P
24 This is particularly handy in the case of git submodules in the \fBnode_modules\fR folder:
25 .
26 .IP "" 4
27 .
28 .nf
29 npm explore some\-dependency \-\- git pull origin master
30 .
31 .fi
32 .
33 .IP "" 0
34 .
35 .P
36 Note that the package is \fInot\fR automatically rebuilt afterwards, so be
37 sure to use \fBnpm rebuild <pkg>\fR if you make any changes\.
38 .
39 .SH "CONFIGURATION"
40 .
41 .SS "shell"
42 .
43 .IP "\(bu" 4
44 Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
45 Windows
46 .
47 .IP "\(bu" 4
48 Type: path
49 .
50 .IP "" 0
51 .
52 .P
53 The shell to run for the \fBnpm explore\fR command\.
54 .
55 .SH "SEE ALSO"
56 .
57 .IP "\(bu" 4
58 npm help submodule
59 .
60 .IP "\(bu" 4
61 npm help  folders
62 .
63 .IP "\(bu" 4
64 npm help edit
65 .
66 .IP "\(bu" 4
67 npm help rebuild
68 .
69 .IP "\(bu" 4
70 npm help build
71 .
72 .IP "\(bu" 4
73 npm help install
74 .
75 .IP "" 0
76