11cb0ef41Sopenharmony_ci---
21cb0ef41Sopenharmony_cititle: npm-unstar
31cb0ef41Sopenharmony_cisection: 1
41cb0ef41Sopenharmony_cidescription: Remove an item from your favorite packages
51cb0ef41Sopenharmony_ci---
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ci### Synopsis
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci```bash
101cb0ef41Sopenharmony_cinpm unstar [<package-spec>...]
111cb0ef41Sopenharmony_ci```
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_ciNote: This command is unaware of workspaces.
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ci### Description
161cb0ef41Sopenharmony_ci
171cb0ef41Sopenharmony_ci"Unstarring" a package is the opposite of [`npm star`](/commands/npm-star),
181cb0ef41Sopenharmony_ciit removes an item from your list of favorite packages.
191cb0ef41Sopenharmony_ci
201cb0ef41Sopenharmony_ci### More
211cb0ef41Sopenharmony_ci
221cb0ef41Sopenharmony_ciThere's also these extra commands to help you manage your favorite packages:
231cb0ef41Sopenharmony_ci
241cb0ef41Sopenharmony_ci#### Star
251cb0ef41Sopenharmony_ci
261cb0ef41Sopenharmony_ciYou can "star" a package using [`npm star`](/commands/npm-star)
271cb0ef41Sopenharmony_ci
281cb0ef41Sopenharmony_ci#### Listing stars
291cb0ef41Sopenharmony_ci
301cb0ef41Sopenharmony_ciYou can see all your starred packages using [`npm stars`](/commands/npm-stars)
311cb0ef41Sopenharmony_ci
321cb0ef41Sopenharmony_ci### Configuration
331cb0ef41Sopenharmony_ci
341cb0ef41Sopenharmony_ci#### `registry`
351cb0ef41Sopenharmony_ci
361cb0ef41Sopenharmony_ci* Default: "https://registry.npmjs.org/"
371cb0ef41Sopenharmony_ci* Type: URL
381cb0ef41Sopenharmony_ci
391cb0ef41Sopenharmony_ciThe base URL of the npm registry.
401cb0ef41Sopenharmony_ci
411cb0ef41Sopenharmony_ci
421cb0ef41Sopenharmony_ci
431cb0ef41Sopenharmony_ci#### `unicode`
441cb0ef41Sopenharmony_ci
451cb0ef41Sopenharmony_ci* Default: false on windows, true on mac/unix systems with a unicode locale,
461cb0ef41Sopenharmony_ci  as defined by the `LC_ALL`, `LC_CTYPE`, or `LANG` environment variables.
471cb0ef41Sopenharmony_ci* Type: Boolean
481cb0ef41Sopenharmony_ci
491cb0ef41Sopenharmony_ciWhen set to true, npm uses unicode characters in the tree output. When
501cb0ef41Sopenharmony_cifalse, it uses ascii characters instead of unicode glyphs.
511cb0ef41Sopenharmony_ci
521cb0ef41Sopenharmony_ci
531cb0ef41Sopenharmony_ci
541cb0ef41Sopenharmony_ci#### `otp`
551cb0ef41Sopenharmony_ci
561cb0ef41Sopenharmony_ci* Default: null
571cb0ef41Sopenharmony_ci* Type: null or String
581cb0ef41Sopenharmony_ci
591cb0ef41Sopenharmony_ciThis is a one-time password from a two-factor authenticator. It's needed
601cb0ef41Sopenharmony_ciwhen publishing or changing package permissions with `npm access`.
611cb0ef41Sopenharmony_ci
621cb0ef41Sopenharmony_ciIf not set, and a registry response fails with a challenge for a one-time
631cb0ef41Sopenharmony_cipassword, npm will prompt on the command line for one.
641cb0ef41Sopenharmony_ci
651cb0ef41Sopenharmony_ci
661cb0ef41Sopenharmony_ci
671cb0ef41Sopenharmony_ci### See Also
681cb0ef41Sopenharmony_ci
691cb0ef41Sopenharmony_ci* [npm star](/commands/npm-star)
701cb0ef41Sopenharmony_ci* [npm stars](/commands/npm-stars)
711cb0ef41Sopenharmony_ci* [npm view](/commands/npm-view)
721cb0ef41Sopenharmony_ci* [npm whoami](/commands/npm-whoami)
731cb0ef41Sopenharmony_ci* [npm adduser](/commands/npm-adduser)
741cb0ef41Sopenharmony_ci
75