npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

How to delete package from npm repository?

Is it possible to delete repository? After the issue with leftpad. I’ve accidentally published into ascidec and it should be ansidec so there are two packages of the same repo and one will always be at 0.1.0.

Is deprecating the only option?


See npm unpublish:

This removes a package version from the registry, deleting its entry and removing the tarball.

If no version is specified, or if all versions are removed then the root package entry is removed from the registry entirely.


Awesome, thank you. I was able to delete it.