About
Package Lister prints the full dependency tree of a given NodeJS package. NodeJS developers use packages, which are modules that bundle versioning, documentation, dependencies on other packages, and more. npm, NodeJS’s package manager, is updated continually with new packages and new versions of existing ones. Given a package name, the tool fetches its complete set of dependencies from npm.
Installation
The tool works on macOS, GNU/Linux, Windows, and other Unix-like operating systems. It is packaged as a gem and requires Ruby 3.2 or later. If you don’t have the required Ruby version, see 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.