Is there a workaround for `npm publish -f`

Alexej Magura picture Alexej Magura · Jan 10, 2015 · Viewed 20.4k times · Source

Now that npm publish -f is deprecated, is there a workaround or a package that makes it possible to overwrite a target version after it's been published?

I know about semver; I still want npm publish -f.

Answer

c0b0 picture c0b0 · Jul 31, 2016

someone said this on npm's github issue:

@nmrony You cannot overwrite previously-published packages anymore (since February 2014, if I recall correctly).

https://github.com/npm/npm/issues/8305#issuecomment-236412989