npm unpublish
Remove a package from the npm registry. More information: https://docs.npmjs.com/cli/npm-unpublish/.
- Unpublish a specific package version:
npm unpublish @
- Unpublish the entire package:
npm unpublish
- Unpublish a package that is scoped:
npm unpublish @/
- Specify a timeout period before unpublishing:
npm unpublish --timeout
- Simulate what would be unpublished without actually doing it:
npm unpublish --dry-run
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
