Created
March 19, 2018 10:09
-
-
Save kribblo/d261e483e6805949278618a79d63a33d to your computer and use it in GitHub Desktop.
npm unpublish a range of versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example: npm unpublish the-package from 0.5.31 to 0.5.41 | |
for i in $(seq 31 41); do npm unpublish "the-package@0.5.$i"; done | |
# list available versions of the-package: | |
npm show the-package versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment