0

I can specify the version of the node module to be installed in my angular application's package.json file, but is there a way of confirming that the specified version has been downloaded to the application's node_modules folder after npm install?

This question covers a similar topic, however I am looking for a confirmation of the version in the folder structure of the module itself.

myroslav
  • 1,670
  • 1
  • 19
  • 40
  • 1
    `npm list --depth 0` will show you what's installed, or just look in that module's own `package.json` for its version. But why is this something you're so worried about? – jonrsharpe Apr 17 '18 at 17:22
  • Thank you @jonrsharpe. We had a conflicting opinion with the vendor and needed an explicit proof of the installed package. – myroslav Apr 17 '18 at 17:45
  • you can also look at "version" field of "package.json" file of the node module you are interested. it should be in "node_modules" folder of your project – numan Jul 06 '22 at 10:29

1 Answers1

0

You can look at your package-lock.json file to see every package (and sub package) version that has been installed.

Daniel W Strimpel
  • 8,190
  • 2
  • 28
  • 38