Get list of all installed packages in node project

Updated at 21-Feb-2022, By samar

Get list of all installed packages in node project

Through the use of the programming language, we will work together to solve the "Get list of all installed packages in node project" puzzle in this lesson.

You can get the list of installed NPM packages using CLI. It will return a list of all installed packages in your CLI. You have to use the NPM list command in your terminal to get the installed NPM package.
  • Get the list of installed packages using NPM

    npm list
    

    Output:

    +-- [email protected]
    +-- [email protected]
    +-- [email protected]

    Just visit the root directory of your project and hit the npm list command to get the list of installed packages in your command line interface.

     

Back to code snippet queries related nodejs