Web / NodeJS Interview questions
Find the version of an installed npm package.
Use npm list for local packages or npm list -g for globally installed packages.
To find the version of the particular package given that the package name is known, use the command npm list package-name.
More Related questions...