New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dependencytreecli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependencytreecli

A Tool for Analyzing Package Dependencies

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

下载

npm install dependencytreecli

查看帮助

dependency-tree-cli
// or
dependency-tree-cli --help

dependency-tree-cli --h // 简写

查看版本

dependency-tree-cli --version

dependency-tree-cli -V // 简写

分析依赖关系并渲染依赖关系图

dependency-tree-cli analyze

dependency-tree-cli ana // 简写

限制向下递归分析的层次深度

// n:层次深度
dependency-tree-cli --depth=n

dependency-tree-cli -d=n // 简写


// 不带参数时由命令行要求用户输入层次深度
dependency-tree-cli --depth

dependency-tree-cli -d 

// 将依赖关系以 JSON 形式存储到用户指定的文件,不再打开网页

// file-path:文件路径
dependency-tree-cli --json=[file-path]

dependency-tree-cli -j=[file-path] // 简写

// 不带参数时由命令行要求用户输入文件路径
dependency-tree-cli --json

dependency-tree-cli -j

FAQs

Package last updated on 31 Aug 2023

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