mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
788 B
12 lines
788 B
10 years ago
|
<h1><a href="../api/npm-explore.html">npm-explore</a></h1> <p>Browse an installed package</p>
|
||
|
<h2 id="synopsis">SYNOPSIS</h2>
|
||
|
<pre><code>npm.commands.explore(args, callback)
|
||
|
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||
|
<p>Spawn a subshell in the directory of the installed package specified.</p>
|
||
|
<p>If a command is specified, then it is run in the subshell, which then
|
||
|
immediately terminates.</p>
|
||
|
<p>Note that the package is <em>not</em> automatically rebuilt afterwards, so be
|
||
|
sure to use <code>npm rebuild <pkg></code> if you make any changes.</p>
|
||
|
<p>The first element in the 'args' parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
|
||
|
|