NPM-UNPUBLISH(3)

πŸ“¦ version 1.2.1, in nixos 26.05, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

npm-unpublish β€” Remove a package from the registry. This is the npm-unpublish(3) manual page, bestie, and it's all about yeeting a package version out of the registry ✨


πŸ’… SYNOPSIS πŸ’…

npm.commands.unpublish(package, callback)

πŸ’– DESCRIPTION πŸ’–

Okay so this one removes a package version from the registry, deleting its entry and removing the tarball. Like, full poof πŸ’¨

The package parameter must be defined β€” no skipping it, bestie.

Only the first element in the package parameter is used. If there is no first element, then npm assumes that the package at the current working directory is what is meant. iykyk 🫢

If no version is specified, or if all versions are removed, then the root package entry is removed from the registry entirely. That's the whole root package entry gone-gone, no cap πŸ‘‘


That's the tea, bestie πŸ§šπŸ’– β€” this page is from the npm manual set, source/version NPM-UNPUBLISH(3), dated March 2017 🌸

πŸ“¦ where this page comes from