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

ant-client

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

ant-client

The complete solution for project cli.

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ant-client

The complete solution for project cli.

analDep

Installation
$ npm install commander -g
Usage
$ cd [your project]
$ ant-client analDep [-e entry] [-o output]

or you can use alias parameter

$ ant-client ad
  • exmaple
$ cd ant-datasource
$ ant-client ad -e src/index -o f
  • output
/Users/lihongji/study/ant-datasource/src/test1文件不存在
ant-datasource/src/index模块过多依赖
ant-datasource/src/test模块过多依赖
模块列表
ant-datasource/src/exist,ant-datasource/src/utils,ant-datasource/src/in.less,ant-datasource/src/test,ant-datasource/src/index,ant-datasource/src/test1,ant-datasource/node_modules/babel-eslint,ant-datasource/src/k/a.png
模块数量
8
  • deptree: deps.json
{
  "./exist": {
    "absosultePath": "ant-datasource/src/exist",
    "deps": {
      "./utils": {
        "absosultePath": "ant-datasource/src/utils",
        "deps": {},
        "depLen": 0
      }
    },
    "depLen": 1
  },
  "./in.less": {
    "absosultePath": "ant-datasource/src/in.less",
    "deps": {},
    "depLen": 0
  },
  "./test": {
    "absosultePath": "ant-datasource/src/test",
    "deps": {
      "absosultePath": "ant-datasource/src/in.less",
      "deps": {},
      "depLen": 0,
      "./index": {
        "absosultePath": "ant-datasource/src/index",
        "deps": {
          "absosultePath": "ant-datasource/src/in.less",
          "deps": {},
          "depLen": 0,
          "tip": "循环引用",
          "./test1": {
            "absosultePath": "ant-datasource/src/test1",
            "deps": {},
            "depLen": 0
          },
          "babel-eslint": {
            "absosultePath": "ant-datasource/node_modules/babel-eslint"
          },
          "./k/a.png": {
            "absosultePath": "ant-datasource/src/k/a.png",
            "deps": {},
            "depLen": 0
          }
        },
        "depLen": 7
      }
    },
    "depLen": 4
  },
  "absosultePath": "ant-datasource/src/k/a.png",
  "deps": {},
  "depLen": 0
}
todolist
  • analyse needless dependencies of package.json.
  • analyse file dependencies order.

FAQs

Package last updated on 11 Nov 2018

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