296

In order to see all the versions of a node module [webpack], I have executed below command in windows command prompt

npm view webpack versions

This command only displays first 100 versions and later displays "331 more" text.

How will I be able to list all versions?

peterh
  • 1
  • 15
  • 76
  • 99
refactor
  • 12,044
  • 22
  • 65
  • 100

4 Answers4

450

Usually I do this if I want to see all versions

npm view webpack versions --json
Sumeet Kumar Yadav
  • 10,459
  • 5
  • 39
  • 68
32

This is pretty much the same but won't list alpha or beta releases

npm show webpack@* version
danday74
  • 45,909
  • 39
  • 198
  • 245
19

with yarn its just yarn info react-dnd versions, you can leave versions off for a lot of other info

russiansummer
  • 1,211
  • 13
  • 16
5

you can view the available versions of any package using npm show <package_name> versions

for webpack use npm show webpack versions

kamula
  • 129
  • 1
  • 4