NPM-STAR(1)
π« NPM-STAR(1) β the npm-star page, bestie edition π«
okay so you found the npm-star manual page and honestly? we're about to have a whole moment. this is the command that lets you tell the world "hey, i see you, package." let's get into it π«Ά
β¨ NAME β¨
npm-star β mark your favorite packages π
πΈ Synopsis
npm star [<package-spec>...]
heads up bestie: this command is unaware of workspaces. like, it literally does not know they exist. no cap.
π Description π
"Starring" a package means you have some interest in it. that's it. that's the whole vibe. it's a vaguely positive way to show that you care β¨ β not a commitment, not a marriage, just a little heart react on a package.
it's a boolean thing, periodt. starring repeatedly has no additional effect. so yes you can spam it, but the universe will not give you extra credit. it's giving one single tap of a button π
π¦ More π¦
there's also these extra commands to help you manage your favorite packages:
π Unstar
you can also "unstar" a package using npm help unstar.
"Unstarring" is the same thing, but in reverse. iconic reversal behavior honestly. π
β Listing stars
you can see all your starred packages using npm help stars β go look at your little collection, main character energy π
π Configuration π
π₯ registry
- Default:
"https://registry.npmjs.org/" - Type: URL
the base URL of the npm registry. that's where all the packages live π
π unicode
- Default:
falseon windows,trueon mac/unix systems with a unicode locale, as defined by theLC_ALL,LC_CTYPE, orLANGenvironment 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. so likeβ¦ pretty little glyphs or the plain ones. your call, bb π
π 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. so it's got your back β¨
π See Also π
npm help "package spec"npm help unstarnpm help starsnpm help viewnpm help whoaminpm help adduser
and that's the whole page, bestie, you ate it up π
version NPM@11.19.1, dated August 2026, page NPM-STAR(1) β mwah, go star something cute ππ
π¦ where this page comes from
- centos-stream 10: nodejs26-npm 1:11.19.1-1.26.8.2.1.el10 Β· Apache-2.0 AND Artistic-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BlueOak-1.0.0 AND CC-BY-3.0 AND CC0-1.0 AND ISC AND MIT
- centos-stream 9: npm 1:11.19.1-1.26.8.2.2.module_el9+1444+554f3837 Β· Apache-2.0 AND Artistic-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BlueOak-1.0.0 AND CC-BY-3.0 AND CC0-1.0 AND ISC AND MIT
- nixpkgs unstable: heroku 11.11.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms