Socket
Socket
Sign inDemoInstall

codechecks-dependency-cruiser

Package Overview
Dependencies
177
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    codechecks-dependency-cruiser

Validate module dependencies against predefined or your own rules


Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Install size
17.1 MB
Created
Weekly downloads
 

Readme

Source

codechecks-dependency-cruiser

Usage

Add to your codechecks.yml file:

checks:
  - name: codechecks-dependency-cruiser
    options:
      exclude: (node_modules)
      graph: true
      paths:
        - src

Options

namerequiredtypedescription
pathsyesstring[]files or directories to cruise
graphnobooleanwhether to generate dependency graph
excludenostringa regexp for modules to exclude from being cruised
confignostringcustom path to .dependency-cruiser.js or .dependency-cruiser.json

Install GraphViz

macOS

brew install graphviz

Ubuntu

sudo apt-get install graphviz

Limitations

  • Extending presets is not supported, use self-contained dependency-cruiser configuration
  • Generating graphs require GraphViz installed

FAQs

Last updated on 18 Sep 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc