从注册表中取消发布包
See Details
目录
作为包所有者或合作者,如果你的包没有依赖,你可以使用 CLI 将其从 npm 注册表中永久删除。你可以在初始发布后 72 小时内 取消发布;超过 72 小时,如果 它符合某些标准,你仍然可以取消发布你的包。
¥As a package owner or collaborator, if your package has no dependents, you can permanently remove it from the npm registry by using the CLI. You can unpublish within 72 hours of the initial publish; beyond 72 hours, you can still unpublish your package if it meets certain criteria.
设置这些标准是为了避免破坏 JavaScript 包生态系统。如果你不能取消发布你的包,你可以 改为弃用它。
¥These criteria are set to avoid damaging the JavaScript package ecosystem. If you cannot unpublish your package, you can deprecate it instead.
注意:从包中删除所有协作者或团队不会取消发布它。
¥Note: Removing all the collaborators or teams from the package will not unpublish it.
取消发布包
¥Unpublishing a package