Files
cheatsheet-tldr/tldr/npm-home

22 lines
532 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{package}}`
- Open the Yarn page of a specific package in the web browser:
`npm-home -y {{package}}`