Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-dependency-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-dependency-analyzer

Analyze and compare what is actually in your node_modules dir

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 04 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc