2 个仓库
Detection of terminal nodes in a dependency graph that do not import any other modules.
Distinct from Module Dependency Analysis: Focuses on identifying modules with zero outgoing edges, distinct from identifying unused packages in a manifest.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Leaf Module Identification. Refine with filters or upvote what's useful.
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
Lists files that do not import any other dependencies, marking the terminal points of dependency chains.
eslint-plugin-import 是一个 ESLint 静态分析插件,提供了一套规则和解析器来验证 import 语句,并强制执行关于文件如何导入和导出代码的架构约束。它作为一个模块验证器和解析器,确保 import 声明指向有效文件且引用的符号存在。 该项目识别递归导入链以防止循环依赖,并利用可配置的解析系统来映射别名和非标准文件路径。它还可以通过路径和文件夹模式匹配来区分内部项目文件和外部库依赖项。 该插件涵盖了更广泛的代码质量领域,包括强制执行导入样式的排序和分组、限制特定模块系统以及验证导出可用性以防止运行时错误。它还可以根据文件夹位置限制导入源或禁止特定路径类型。
Determines if a module is a local project file or an external dependency using path pattern matching.