debugdiary.dev
A tool for checking circular dependencies and dependency rule violations in JavaScript projects.
What does it do?
Running a detangle check in a project collects file imports, builds a graph, and reports issues such as circular dependencies, undeclared npm packages, and production code importing test files. You can define path-based rules in detangle.toml. Running it without arguments opens a terminal explorer for tracing module imports and violations. An experimental ESLint rule can include unsaved changes in the file you are editing in the check results.
Key features
- Check for circular dependencies, unresolved imports, and undeclared npm packages
- Define path-based architecture rules in a configuration file
- Explore import graphs and violations in the terminal
- Check changes while editing with an experimental ESLint rule
- ESLint integration available for macOS, Linux, and Windows