Files
cheatsheet-tldr/tldr/npm-home
2024-11-17 00:19:39 +00:00

22 lines
534 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}}`