Unpublishing your package on npm

· 42 words · 1 min

If your package is published on npm, for some reason, you want to unpublish a single version or the entire package, you can follow the steps below.

# a single version
npm unpublish <package_name>@<specific_version_name>

# or the entire package
npm unpublish <package_name> -f
NPM