File Explorer

/var/lang/lib/node_modules/npm/man/man1

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
70 files
npm-repo.13.1 KB · 104 lines
.TH "NPM-REPO" "1" "February 2026" "NPM@11.11.0" "".SH "NAME"\fBnpm-repo\fR - Open package repository page in the browser.SS "Synopsis".P.RS 2.nfnpm repo \[lB]<pkgname> \[lB]<pkgname> ...\[rB]\[rB].fi.RE.SS "Description".PThis command tries to guess at the likely location of a package's repository URL, and then tries to open it using the \fB\[rs]fB--browser\[rs]fR config\fR \fI\(la/using-npm/config#browser\(ra\fR param. If no package name is provided, it will search for a \fBpackage.json\fR in the current folder and use the \fBrepository\fR property..SS "Configuration".SS "\fBbrowser\fR".RS 0.IP \(bu 4Default: macOS: \fB"open"\fR, Windows: \fB"start"\fR, Others: \fB"xdg-open"\fR.IP \(bu 4Type: null, Boolean, or String.RE 0 .PThe browser that is called by npm commands to open websites..PSet to \fBfalse\fR to suppress browser behavior and instead print urls to terminal..PSet to \fBtrue\fR to use default system URL opener..SS "\fBregistry\fR".RS 0.IP \(bu 4Default: "https://registry.npmjs.org/".IP \(bu 4Type: URL.RE 0 .PThe base URL of the npm registry..SS "\fBworkspace\fR".RS 0.IP \(bu 4Default:.IP \(bu 4Type: String (can be set multiple times).RE 0 .PEnable running a command in the context of the configured workspaces of the current project while filtering by running only the workspaces defined by this configuration option..PValid values for the \fBworkspace\fR config are either:.RS 0.IP \(bu 4Workspace names.IP \(bu 4Path to a workspace directory.IP \(bu 4Path to a parent workspace directory (will result in selecting all workspaces within that folder).RE 0 .PWhen set for the \fBnpm init\fR command, this may be set to the folder of a workspace which does not yet exist, to create the folder and set it up as a brand new workspace within the project..PThis value is not exported to the environment for child processes..SS "\fBworkspaces\fR".RS 0.IP \(bu 4Default: null.IP \(bu 4Type: null or Boolean.RE 0 .PSet to true to run the command in the context of \fBall\fR configured workspaces..PExplicitly setting this to false will cause commands like \fBinstall\fR to ignore workspaces altogether. When not set explicitly:.RS 0.IP \(bu 4Commands that operate on the \fBnode_modules\fR tree (install, update, etc.) will link workspaces into the \fBnode_modules\fR folder. - Commands that do other things (test, exec, publish, etc.) will operate on the root project, \fIunless\fR one or more workspaces are specified in the \fBworkspace\fR config..RE 0 .PThis value is not exported to the environment for child processes..SS "\fBinclude-workspace-root\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .PInclude the workspace root when workspaces are enabled for a command..PWhen false, specifying individual workspaces via the \fBworkspace\fR config, or all workspaces via the \fBworkspaces\fR flag, will cause npm to operate only on the specified workspaces, and not on the root project..PThis value is not exported to the environment for child processes..SS "See Also".RS 0.IP \(bu 4npm help docs.IP \(bu 4npm help config.RE 0