目录
选择命令行版本:
目录
概要
¥Synopsis
npm unstar [<package-spec>...]
注意:此命令对工作区无感知。
¥Note: This command is unaware of workspaces.
描述
¥Description
"取消关注" a package 与 npm star
相反,它从你最喜欢的包列表中删除一个项目。
¥"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
你可以使用 npm star
"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/"
¥Default: "https://registry.npmjs.org/"
-
类型:URL
¥Type: URL
npm 注册表的基本 URL。
¥The base URL of the npm registry.
unicode
-
默认值:在 Windows 上为 false,在具有 unicode 区域设置的 mac/unix 系统上为 true,如
LC_ALL
、LC_CTYPE
或LANG
环境变量所定义。¥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
当设置为 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
-
默认值:null
¥Default: null
-
类型:空值或字符串
¥Type: null or String
这是来自双重身份验证器的一次性密码。使用 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