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

npm-home — Open the `npm` page, Yarn page, or GitHub repository of a package in the web browser. More informati

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thepagecommandnpmyarncliopennpm-home

Problem

How to use the npm-home command: Open the npm page, Yarn page, or GitHub repository of a package in the web browser. More information: <https://github.com/sindresorhus/npm-home>.

Solution

npm-home — Open the npm page, Yarn page, or GitHub repository of a package in the web browser. More information: <https://github.com/sindresorhus/npm-home>.

Open the npm page of a specific package in the web browser:
npm-home {{package}}


Open the GitHub repository of a specific package in the web browser:
npm-home {{[-g|--github]}} {{package}}


Open the Yarn page of a specific package in the web browser:
npm-home {{[-y|--yarn]}} {{package}}

Code Snippets

Open the `npm` page of a specific package in the web browser

npm-home {{package}}

Open the GitHub repository of a specific package in the web browser

npm-home {{[-g|--github]}} {{package}}

Open the Yarn page of a specific package in the web browser

npm-home {{[-y|--yarn]}} {{package}}

Context

tldr-pages: common/npm-home

Revisions (0)

No revisions yet.