Unpublishing a Package
To delete a package, use the npm unpublish command followed by the package name and optionally, the package version:
npm unpublish {package_name}[@{package_version}]
Example:
npm unpublish my-package@1.0.0
How to Publish NPM Packages in the Package Registry ?
The npm Package Registry serves as an invaluable tool for publishing npm packages for individual developers or organizations.
This article will guide you through the requirements, configuration, and usage of the npm package registry.
Table of Content
- Setting Up the Package Registry
- Publishing a Package
- Authenticating via the .npmrc
- Publishing a package via the command line
- Publishing a package by using a CI/CD pipeline
- Unpublishing a Package
- Installing a Package
- Tagging a Package
- Searching Packages
- Supported Commands
- Conclusion
Contact Us