HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

npm stars — View packages marked as favorites. More information: <https://docs.npmjs.com/cli/npm-stars/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfavoritesnpm starsclimoremarkedviewpackages

Problem

How to use the npm stars command: View packages marked as favorites. More information: <https://docs.npmjs.com/cli/npm-stars/>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/npm stars

Revisions (0)

No revisions yet.