Files
cheatsheet-tldr/tldr/npm-stars
2025-12-20 00:20:53 +00:00

30 lines
617 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm stars
> View packages marked as favorites.
> More information: <https://docs.npmjs.com/cli/npm-stars/>.
- Show all starred packages by the currently logged-in user:
`npm stars`
- Show your starred packages from a specific registry:
`npm stars --registry {{registry_url}}`
- Show packages starred by a specific user:
`npm stars {{username}}`
- Show packages starred by a specific user from a specific registry:
`npm stars {{username}} --registry {{registry_url}}`
- Display help:
`npm stars {{[-h|--help]}}`