npm-stars: add page (#19460)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Meinard Francisco
2025-11-17 03:34:24 +08:00
committed by GitHub
parent 0b67da040b
commit 6daaff0e47
+24
View File
@@ -0,0 +1,24 @@
# 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]}}`