npm CLI
CLI Commands
npmnpm accessnpm addusernpm auditnpm binnpm bugsnpm cachenpm cinpm completionnpm confignpm dedupenpm deprecatenpm diffnpm dist-tagnpm docsnpm doctornpm editnpm execnpm explainnpm explorenpm find-dupesnpm fundnpm helpnpm help-searchnpm hooknpm initnpm installnpm install-ci-testnpm install-testnpm linknpm logoutnpm lsnpm orgnpm outdatednpm ownernpm packnpm pingnpm pkgnpm prefixnpm profilenpm prunenpm publishnpm querynpm rebuildnpm reponpm restartnpm rootnpm run-scriptnpm searchnpm set-scriptnpm shrinkwrapnpm starnpm starsnpm startnpm stopnpm teamnpm testnpm tokennpm uninstallnpm unpublishnpm unstarnpm updatenpm versionnpm viewnpm whoaminpx
npm-unstar
Remove an item from your favorite packagesVersion 8.19.2 (Latest Release)
- Version 7.24.2 (Legacy Release)
- Version 8.19.2 (Latest Release)
- Version 9.0.0 (Current Release)
Synopsis
npm unstar [<package-spec>...]
Note: This command is unaware of workspaces.
Description
"Unstarring" a package is the opposite of npm star
,
it removes an item from your list of favorite packages.
More
There's also these extra commands to help you manage your favorite packages:
Star
You can "star" a package using npm star
Listing stars
You can see all your starred packages using npm stars
Configuration
registry
- Default: "https://registry.npmjs.org/"
- Type: URL
The base URL of the npm registry.
unicode
- Default: false on windows, true on mac/unix systems with a unicode locale,
as defined by the
LC_ALL
,LC_CTYPE
, orLANG
environment variables. - Type: Boolean
When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs.
otp
- Default: null
- Type: null or String
This is a one-time password from a two-factor authenticator. It's needed
when publishing or changing package permissions with npm access
.
If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one.