Unpublish packages from sinopia Local NPM registry

1.2k Views Asked by At

How to unpublish/remove already published packages in to Sinopia (Local NPM repository) ?

Let's say I have published a package called @test/test-package. How to unpublish it from local repository ?

1

There are 1 best solutions below

1
On BEST ANSWER

Try this command.

npm unpublish @test/test-package

This will unpublish your latest version of this package. If you want to remove specific version, use version also.

npm unpublish @test/[email protected] 

This will remove version 1.0.0 of this package