npm-unstar

从你最喜欢的包中删除一个项目

选择命令行版本:

概要

🌐 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

registry

  • 默认: "https://registry.npmjs.org/"
  • 类型:网址

npm 注册表的基本 URL。

🌐 The base URL of the npm registry.

unicode

  • 默认值:在 Windows 上为 false,在 mac/unix 系统上具有 Unicode 本地化环境时为 true,这由 LC_ALLLC_CTYPELANG 环境变量定义。
  • 类型:布尔

当设置为 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