选择命令行版本:
🌐 Synopsis
npm unstar [<package-spec>...]
注意:此命令不支持工作区。
🌐 Note: This command is unaware of workspaces.
🌐 Description
对一个包取消加星标与 npm star 相反,它会将某个项目从你最喜欢的包列表中移除。
🌐 More
还有这些额外的命令可以帮助你管理你最喜欢的包:
🌐 There's also these extra commands to help you manage your favorite packages:
🌐 Star
你可以使用 npm star 给一个包“加星”
🌐 You can "star" a package using npm star
🌐 Listing stars
你可以使用 npm stars 查看你所有标星的包
🌐 You can see all your starred packages using npm stars
🌐 Configuration
registrynpm 注册表的基本 URL。
🌐 The base URL of the npm registry.
unicodeLC_ALL、LC_CTYPE 或 LANG 环境变量定义。当设置为 true 时,npm 在树状输出中使用 Unicode 字符。当设置为 false 时,它使用 ASCII 字符而不是 Unicode 字符。
🌐 When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs.
otp这是来自双因素认证器的一次性密码。在使用 npm access 发布或更改软件包权限时需要此密码。
🌐 This is a one-time password from a two-factor authenticator. It's needed when publishing or changing package permissions with npm access.
如果未设置,并且注册表响应失败并询问一次性密码,npm 将在命令行上提示输入一次密码。
🌐 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.
🌐 See Also