Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 5021c4dca8
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (11 sloc) 669 Bytes

npm-explore(3) -- Browse an installed package


npm.commands.explore(args, callback)


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.

Note that the package is not automatically rebuilt afterwards, so be sure to use npm rebuild <pkg> if you make any changes.

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.

Jump to Line
Something went wrong with that request. Please try again.