1.1.0 • Published 5 years ago

node-dependency-analyzer v1.1.0

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

Node dependency analyzer

A command line tool that walks through your node_modules and parses all of the package.json files of your packages. It writes all of the package names and package versions to a file.

Usage

$ npm install node-dependency-analyzer --save-dev
$ npx node-dependency-analyzer --help

Usage: index [options]

Options:
  -V, --version             output the version number
  -n, --node-modules [dir]  node_modules dir (default: "node_modules")
  -o, --output-path [path]  File to write analysis to (default: "results.json")
  -h, --help                output usage information

$ npx node-dependency-analyzer

Scenarios where this is helpful

  • You want a top-level view of the specific versions of your node packages that you are actually using right now (which is often not exactly what you've declared in package.json unless you are strict about installing explicit versions without ^)
  • You are migrating from yarn.lock to package-lock.json and need to re-create your dependency tree.
  • You are migrating from package-lock.json to yarn.lock and need to re-create your dependency tree.

License

ISC

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago