{"repo":"acrazing/dpdm","free":true,"listed":false,"github":"https://github.com/acrazing/dpdm","clone":"git clone https://github.com/acrazing/dpdm.git","description":"Detect circular dependencies in your TypeScript projects.","language":"TypeScript","stars":863,"topics":["circular","typescript","visualization","command-line","javascript","dependency","typescript3","madge"],"license":"MIT","category":"cli-tools","readme_excerpt":"DPDM A robust static dependency analyzer for your JavaScript and TypeScript projects. Highlights &nbsp; &nbsp; Install &nbsp; &nbsp; Usage &nbsp; &nbsp; Options &nbsp; &nbsp; API Highlights - Supports CommonJS , ESM . - Supports JavaScript and TypeScript completely. - Supports TypeScript path mapping. - Supports package-local tsconfig.json files and TypeScript project references. - Supports ignore TypeScript type dependencies. - Supports dpdm.config.ts and JavaScript/JSON config files. - Light weight: use TypeScript to parse all modules. - Fast: use asynchronous API to load modules. - Stable output: This is compared to madge , whose results are completely inconclusive when analyze TypeScript . Install 1. For command line 2. As a module Usage in command line 1. Simple usage 2. Print circular dependencies only 3. Exit with a non-zero code if a circular dependency is found. 4. Ignore type dependencies for TypeScript modules 5. Find unused files by index.js in src directory: 6. Skip dynamic imports: 7. Ignore specified imports when finding circular dependencies: 8. Analyze files from another working directory: 9. Show dependencies and circular dependencies grouped by package: 10. Use a config file: dpdm searches for dpdm.config.ts , dpdm.config.mts , dpdm.config.cts , dpdm.config.mjs , dpdm.config.cjs , dpdm.config.js , or dpdm.config.json in the working directory. CLI options override config file values. 11. Ignore imports from source comments: The @dpdm-ignore comment can be pl","default_branch":null,"files":null,"tree":[],"storefront":"/r/acrazing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/acrazing/dpdm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}