1

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 ?

user3292311
  • 43
  • 1
  • 7

1 Answers1

1

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/test-package@v1.0.0 

This will remove version 1.0.0 of this package

Sandunka Mihiran
  • 556
  • 4
  • 19