javascript - 如何从 npm 注册表中删除 npm 包?

标签 javascript node.js npm

有没有办法从 npm 注册表中移除或删除整个模块?

注意:npm -f unpublish 不允许您取消发布超过 24 小时的任何内容

最佳答案

鉴于最近发生的事件,有一篇关于此的帖子。最好的办法是联系 npm 并希望您的包不被其他项目依赖。

If the version is older than 24 hours, then the unpublish will fail, with a message to contact support@npmjs.com.

If you contact support, they will check to see if removing that version of your package would break any other installs. If so, we will not remove it. You’ll either have to transfer ownership of the package or reach out to the owners of dependent packages to change their dependency.

http://blog.npmjs.org/post/141905368000/changes-to-npms-unpublish-policy

关于javascript - 如何从 npm 注册表中删除 npm 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36927974/

相关文章:

javascript - 在 iPad(Safari 和 Chrome)上渲染时,为什么 Canvas 中会出现白线?

javascript - SocketIO 服务器保留事件

javascript - 有没有办法从数组中提取对象并放入新数组中?

node.js - 找不到模块 'crypto'

javascript - 如何在 Meteor 中使用 PureRenderMixin (React js)

node.js - Angular2 和 Spring Boot。如何服务前端?

javascript - 为什么 RequireJs 传递的是 Null?

javascript - SharePoint REST _api DateTimeRange 查询

javascript - 更改时的 setState

javascript - Node.js 支持导出 Excel 和数据库