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

npm unstar — Remove the favorite/star mark from a package. More information: <https://docs.npmjs.com/cli/npm-unst

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandremoveclifavoritestarnpm unstarmark

Problem

How to use the npm unstar command: Remove the favorite/star mark from a package. More information: <https://docs.npmjs.com/cli/npm-unstar/>.

Solution

npm unstar — Remove the favorite/star mark from a package. More information: <https://docs.npmjs.com/cli/npm-unstar/>.

Unstar a public package from the default registry:
npm unstar {{package_name}}


Unstar a package within a specific scope:
npm unstar @{{scope}}/{{package_name}}


Unstar a package from a specific registry:
npm unstar {{package_name}} --registry {{registry_url}}


Unstar a private package that requires authentication:
npm unstar {{package_name}} --auth-type {{legacy|oauth|web|saml}}


Unstar a package by providing an OTP for two-factor authentication:
npm unstar {{package_name}} --otp {{otp}}


Unstar a package with a specific logging level:
npm unstar {{package_name}} --loglevel {{silent|error|warn|notice|http|timing|info|verbose|silly}}

Code Snippets

Unstar a public package from the default registry

npm unstar {{package_name}}

Unstar a package within a specific scope

npm unstar @{{scope}}/{{package_name}}

Unstar a package from a specific registry

npm unstar {{package_name}} --registry {{registry_url}}

Unstar a private package that requires authentication

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

Unstar a package by providing an OTP for two-factor authentication

npm unstar {{package_name}} --otp {{otp}}

Context

tldr-pages: common/npm unstar

Revisions (0)

No revisions yet.