@@ -6,21 +6,22 @@ description: Remove a package from the registry
66
77### Synopsis
88
9- To learn more about how the npm registry treats unpublish, see our <a
10- href="https://docs.npmjs.com/policies/unpublish " target="_ blank"
11- rel="noopener noreferrer"> unpublish policies</a >
12-
13- #### Unpublishing a single version of a package
9+ <!-- AUTOGENERATED USAGE DESCRIPTIONS START -->
10+ <!-- automatically generated, do not edit manually -->
11+ <!-- see lib/commands/unpublish.js -->
1412
1513``` bash
16- npm unpublish [< @scope> /]< pkg> @< version>
14+ npm unpublish [< @scope> /]< pkg> [ @< version> ]
1715```
1816
19- #### Unpublishing an entire package
17+ <!-- automatically generated, do not edit manually -->
18+ <!-- see lib/commands/unpublish.js -->
19+
20+ <!-- AUTOGENERATED USAGE DESCRIPTIONS END -->
2021
21- ``` bash
22- npm unpublish [ < @scope > /] < pkg > --force
23- ```
22+ To learn more about how the npm registry treats unpublish, see our <a
23+ href=" https://docs.npmjs.com/policies/ unpublish" target=" _ blank"
24+ rel="noopener noreferrer"> unpublish policies</ a >
2425
2526### Warning
2627
@@ -87,6 +88,7 @@ mistakes, unnecessary performance degradation, and malicious input.
8788* Allow conflicting peerDependencies to be installed in the root project.
8889* Implicitly set ` --yes ` during ` npm init ` .
8990* Allow clobbering existing values in ` npm pkg `
91+ * Allow unpublishing of entire packages (not just a single version).
9092
9193If you don't have a clear idea of what you want to do, it is strongly
9294recommended that you do not use this option!
0 commit comments