Prints the full NodeJS package dependency tree based on a given package name.
Developers working with NodeJS use packages in their code. A package is a functional NodeJS module that includes versioning, documentation, dependencies (in the form of other packages), and more. NodeJS has a managed packages environment called npm. npm is regularly updated with new packages and new versions of existing packages. The user provides the name of the package for analysis. The tool fetches the overall set of dependencies from the relevant package manager, for the given package.
The tool is designed to work on macOS, GNU/Linux, Windows, Unix-like OS. It is packaged as a Gem and require Ruby version 2.6 or later. See “Installing Ruby” if you don't have the proper version on your platform.
Use this command to install:
gem install pls
Use this command to update the package:
gem update pls
pls [options] -p, --pac package Package name. -v, --version Shows version.
pls -p express