HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

npm docs — Open the documentation for one or more packages in the default web browser. More information: <https

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandcliopendocumentationfornpm docsone

Problem

How to use the npm docs command: Open the documentation for one or more packages in the default web browser. More information: <https://docs.npmjs.com/cli/npm-docs/>.

Solution

npm docs — Open the documentation for one or more packages in the default web browser. More information: <https://docs.npmjs.com/cli/npm-docs/>.

Open a specific package's documentation page:
npm docs {{package}}


Open documentation for multiple packages at once:
npm docs {{package1 package2 ...}}

Code Snippets

Open a specific package's documentation page

npm docs {{package}}

Open documentation for multiple packages at once

npm docs {{package1 package2 ...}}

Context

tldr-pages: common/npm docs

Revisions (0)

No revisions yet.