---
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]}}`
