Package Lister
About
Package Lister 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.
Installation
The tool is designed to work on macOS, GNU/Linux, Windows, Unix-like OS. It is packaged as a Gem and requires Ruby version 3.2 or later. If you do not have the appropriate version on your platform, refer to Installing Ruby.
Use this command to install:
gem install pls
Updating
Use this command to update the package:
gem update pls
Usage
pls [options]
-p, --pac package Package name.
-v, --version Shows version.
Example
pls -p express
License
pls
is copyright David Rabkin and available under a
Zero-Clause BSD license.