Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.0.29
Fetching contributors…

Cannot retrieve contributors at this time

77 lines (75 sloc) 1.216 kb
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-EXPLORE" "1" "September 2011" "" ""
.
.SH "NAME"
\fBnpm-explore\fR \-\- Browse an installed package
.
.SH "SYNOPSIS"
.
.nf
npm explore <name>[@<version>] [ \-\- <cmd>]
.
.fi
.
.SH "DESCRIPTION"
Spawn a subshell in the directory of the installed package specified\.
.
.P
If a command is specified, then it is run in the subshell, which then
immediately terminates\.
.
.P
This is particularly handy in the case of git submodules in the \fBnode_modules\fR folder:
.
.IP "" 4
.
.nf
npm explore some\-dependency \-\- git pull origin master
.
.fi
.
.IP "" 0
.
.P
Note that the package is \fInot\fR automatically rebuilt afterwards, so be
sure to use \fBnpm rebuild <pkg>\fR if you make any changes\.
.
.SH "CONFIGURATION"
.
.SS "shell"
.
.IP "\(bu" 4
Default: SHELL environment variable, or "bash" on Posix, or "cmd" on
Windows
.
.IP "\(bu" 4
Type: path
.
.IP "" 0
.
.P
The shell to run for the \fBnpm explore\fR command\.
.
.SH "SEE ALSO"
.
.IP "\(bu" 4
npm help submodule
.
.IP "\(bu" 4
npm help folders
.
.IP "\(bu" 4
npm help edit
.
.IP "\(bu" 4
npm help rebuild
.
.IP "\(bu" 4
npm help build
.
.IP "\(bu" 4
npm help install
.
.IP "" 0
Jump to Line
Something went wrong with that request. Please try again.