Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

npm-explore (1)

Name

npm-explore - Browse an installed package

Synopsis

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

Description

NPM-EXPLORE(1)                                                  NPM-EXPLORE(1)



NAME
       npm-explore - Browse an installed package

SYNOPSIS
         npm explore <pkg> [ -- <command>]

DESCRIPTION
       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.

       This is particularly handy  in  the  case  of  git  submodules  in  the
       node_modules folder:

         npm explore some-dependency -- git pull origin master

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

CONFIGURATION
   shell
       o Default: SHELL environment variable, or "bash" on Posix, or "cmd"  on
         Windows

       o Type: path


       The shell to run for the npm explore command.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-------------------------+
       |ATTRIBUTE TYPE |    ATTRIBUTE VALUE      |
       +---------------+-------------------------+
       |Availability   | runtime/nodejs/nodejs-8 |
       +---------------+-------------------------+
       |Stability      | Pass-thru volatile      |
       +---------------+-------------------------+
SEE ALSO
       o npm help 5 folders

       o npm help edit

       o npm help rebuild

       o npm help build

       o npm help install





NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source    was   downloaded   from    https://github.com/nodejs/node/ar-
       chive/v8.15.1.zip

       Further information about this software can be found on the open source
       community website at https://github.com/nodejs/node.



                                  August 2018                   NPM-EXPLORE(1)