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

@depanlz/cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depanlz/cli

depanlz is a dependencies analyze tool

  • 0.0.1-alpha.5
  • npm
  • Socket score

Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

@depanlz/cli

DepAnlz CLI工具需要依赖于@depanlz/core模块来进行工作,它为开发者实现依赖分析提供了更加方便的操作,可直接使用命令行命令来快速分析项目依赖。

快速上手

下载CLI工具包以及core模块

$ npm install -D @depanlz/cli @depanlz/core
$ pnpm add -D @depanlz/cli @depanlz/core 
$ yarn add -D @depanlz/cli @depanlz/core 

通过命令行使用命令

$ npx depanlz analyze
$ pnpm depanlz analyze 
$ yarn depanlz analyze 

全局可选项

-V, --version

通过该参数可以查看 @depanlz/cli 的版本

$ npx depanlz -V
$ pnpm depanlz -V
$ yarn depanlz -V
-h, --help

通过该参数可以查看 @depanlz/cli 的命令帮助

$ npx depanlz -h
$ pnpm depanlz -h
$ yarn depanlz -h

analyze 命令可选项

-j, --json [file-path]

通过该参数可以通过CLI生成一个项目依赖关系的JSON文件。

$ npx depanlz analyze -j
$ pnpm depanlz analyze -j
$ yarn depanlz analyze -j
-w, --web [port]

通过该参数可以通过CLI启动一个web server,同时通过echarts渲染可视化依赖关系图。

$ npx depanlz analyze -w
$ pnpm depanlz analyze -w
$ yarn depanlz analyze -w
-h, --help

通过该参数可以查看 analyze 命令的所有可选配置

$ npx depanlz analyze -h
$ pnpm depanlz analyze -h
$ yarn depanlz analyze -h

Keywords

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