Files
cheatsheet-tldr/tldr/npm-home
2025-04-26 00:18:47 +00:00

22 lines
564 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|--github]}} {{package}}`
- Open the Yarn page of a specific package in the web browser:
`npm-home {{[-y|--yarn]}} {{package}}`