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

codechecks-dependency-cruiser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codechecks-dependency-cruiser

Validate module dependencies against predefined or your own rules

  • 0.0.1-beta.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 18 Sep 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