2024-11-02 20:43:13 +05:30
|
|
|
# npm unstar
|
|
|
|
|
|
|
|
> Remove the favorite/star mark from a package.
|
|
|
|
> More information: <https://docs.npmjs.com/cli/commands/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:
|
|
|
|
|
2025-05-30 06:02:26 +02:00
|
|
|
`npm unstar {{package_name}} --registry {{registry_url}}`
|
2024-11-02 20:43:13 +05:30
|
|
|
|
|
|
|
- Unstar a private package that requires authentication:
|
|
|
|
|
2025-05-30 06:02:26 +02:00
|
|
|
`npm unstar {{package_name}} --auth-type {{legacy|oauth|web|saml}}`
|
2024-11-02 20:43:13 +05:30
|
|
|
|
|
|
|
- Unstar a package by providing an OTP for two-factor authentication:
|
|
|
|
|
2025-05-30 06:02:26 +02:00
|
|
|
`npm unstar {{package_name}} --otp {{otp}}`
|
2024-11-02 20:43:13 +05:30
|
|
|
|
|
|
|
- Unstar a package with a specific logging level:
|
|
|
|
|
2025-05-30 06:02:26 +02:00
|
|
|
`npm unstar {{package_name}} --loglevel {{silent|error|warn|notice|http|timing|info|verbose|silly}}`
|