npm star

Mark a package as favorite. More information: https://docs.npmjs.com/cli/commands/npm-star.

npm star {{package_name}}

npm star @{{scope}}/{{package_name}}

npm star {{package_name}} --registry={{registry_url}}

npm star {{package_name}} --auth-type={{legacy|oauth|web|saml}}

npm star {{package_name}} --otp={{otp}}

npm star {{package_name}} --loglevel=verbose

npm star --list

npm star --list --registry={{registry_url}}