MEAN Stack Node JS NPM

How-To find the version of an installed NodeJS or NPM Package

NodejS NPM HD Pics
Written by VithalReddy.M.B

Hello Developers, Sometimes you need to know the version of installed Node.js or NPM Package to know its compatibility issues with other NPM Packages and Restful APIs, So Continuing our NodeJS Development Tutorials series, In this Guide, we are going to learn How to find the version of an installed NPM package or How to check version of installed NPM package.

READ  Enable CORS in NodeJS (ExpressJS) With and Without CORS NPM

We will show you all the methods about How to check the version of an installed package with NPM

How To Find or Check the Version of Installed NodejS NPM Package using NPM?

That’s all folks. You can also view package.json file to find out version of installed node packages.To summarize

// To Query all properties of the currently installed package
$ npm view express
 
//To Query the description of the currently installed package
$ npm view express description
 
//To Query all versions of a package
$ npm view express versions
 
//To query the description of a specific version of a package
$ npm view [email protected] description

 

About the author

VithalReddy.M.B

Vithalreddy.M.B is the Editor of VMRworld.com & stackFame.com with a focus on startups, Startup News, Business, and Technology.He is also an Electrical & Electronics Engineer, Technology Lover, and Entrepreneur by choice.Started His first startup at 21.