Madge is a JavaScript module dependency visualizer and architecture mapper. It analyzes source code to create graphs and diagrams of module relationships, supporting CommonJS, AMD, and ES6 standards. The tool functions as a circular dependency detector to identify recursive import loops and a dependency graph generator that exports relationship maps into image and vector formats. It provides utilities for auditing project structure, including the identification of orphaned modules and leaf modules. Its broader capabilities include dead code identification, module impact analysis through depe
Knip is a static analysis project cleaner and dead code analyzer for JavaScript and TypeScript projects. It identifies and removes unused files, dependencies, and exports to maintain a lean codebase and reduce bundle size. The tool functions as a monorepo dependency auditor, tracking exports and dependencies across multiple workspaces to find dead code in large multi-package projects. It specifically targets the removal of unused packages from project manifests and the deletion of unreferenced exports. Its capabilities cover dead code elimination, JavaScript dependency management, and TypeSc
ArchUnit is a Java architecture testing library and automated validator that analyzes compiled bytecode to verify that source code adheres to predefined design rules. It functions as a testing framework that fails builds when the actual code structure violates architectural constraints. The library uses a fluent rule specification to define constraints and employs bytecode analysis to inspect class relationships and package dependencies. This allows for the automated detection of circular dependencies and the enforcement of dependency rules between packages. The tool covers a range of struct
Farm is a Rust-based web build tool and development server that compiles JavaScript, TypeScript, CSS, HTML, and static assets into optimized bundles. It uses a module-graph-based bundling approach with persistent module-level caching, enabling near-instant builds and sub-20ms hot module replacement during development. The tool processes assets based on file extensions, handling CSS, Sass, Less, PostCSS, HTML, and images as first-class modules without requiring JavaScript transformation. Farm distinguishes itself through its Vite-compatible plugin system, accepting Vite, Rollup, and Unplugin p
Dependency-cruiser este un analizor de dependențe și linter arhitectural pentru JavaScript și TypeScript. Servește ca instrument de analiză statică pentru maparea, vizualizarea și validarea relațiilor dintre module într-un codebase, fără a necesita execuția codului.
Principalele funcționalități ale sverweij/dependency-cruiser sunt: Dependency Visualizers, Dead Code Elimination, Missing Dependency Detection, Circular Dependency Detectors, Module Resolution, Architecture Rule Enforcement, Configuration-Driven Rule Engines, Dependency Blacklists.
Alternativele open-source pentru sverweij/dependency-cruiser includ: pahen/madge — Madge is a JavaScript module dependency visualizer and architecture mapper. It analyzes source code to create graphs… webpro-nl/knip — Knip is a static analysis project cleaner and dead code analyzer for JavaScript and TypeScript projects. It identifies… tng/archunit — ArchUnit is a Java architecture testing library and automated validator that analyzes compiled bytecode to verify that… farm-fe/farm — Farm is a Rust-based web build tool and development server that compiles JavaScript, TypeScript, CSS, HTML, and static… nrwl/nx — This project is a build orchestration engine and development toolkit designed for managing large-scale monorepos. It… microsoft/rushstack — Rushstack is a comprehensive toolset for managing large-scale TypeScript monorepos, providing a framework for build…