10 रिपॉजिटरी
Analysis that finds packages declared in the manifest that are not actually imported in the code.
Distinct from Code Dependency Analysis: Specifically identifies redundancies in the manifest, whereas general code dependency analysis lists all dependencies.
Explore 10 awesome GitHub repositories matching development tools & productivity · Unused Dependency Identification. Refine with filters or upvote what's useful.
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
Analyzes code and configuration to find packages listed in the manifest that are not imported.
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
Provides a scanner that identifies recursive module import loops to help developers break dependency chains.
This project is a command line interface for managing, installing, and publishing JavaScript packages to a remote registry. It serves as a dependency resolution tool, a software registry publishing client, and a security auditor for Node.js development workflows. The tool distinguishes itself by providing integrated monorepo workspace management and a comprehensive registry authentication client that supports multi-factor authentication. It enables detailed control over the software supply chain through provenance attestations, package signature verification, and the generation of a Software
Provides a utility to list duplicated packages within the dependency tree to analyze redundancy.
pipreqs is a Python dependency generator and discovery tool. It scans project imports to identify the third-party libraries required to run a project and automates the generation of requirements files containing only the packages actually used in the source code. The utility functions as a requirements file manager by comparing installed packages against actual imports. It provides capabilities for pruning unused dependencies and auditing projects to identify missing or obsolete packages. The tool employs static analysis and abstract syntax trees to isolate import statements without executin
Identifies packages declared in the requirements file that are not actually imported in the source code.
Dependency-cruiser एक JavaScript और TypeScript डिपेंडेंसी एनालाइज़र और आर्किटेक्चरल लिंटर है। यह कोड निष्पादन की आवश्यकता के बिना कोडबेस के भीतर मॉड्यूल संबंधों को मैप करने, विज़ुअलाइज़ करने और मान्य करने के लिए एक स्टेटिक एनालिसिस टूल के रूप में कार्य करता है। यह प्रोजेक्ट एक नियम-आधारित सिस्टम के माध्यम से आर्किटेक्चरल सीमाओं को लागू करने की अपनी क्षमता के लिए जाना जाता है। यह सर्कुलर डिपेंडेंसी का पता लगाता है, अनाथ मॉड्यूल और डेड कोड की पहचान करता है, और अनुमत और निषिद्ध संबंध नियमों का उपयोग करके डिपेंडेंसी बाधाओं को मान्य करता है। यह प्रोजेक्ट के नाजुक क्षेत्रों की पहचान करने के लिए एफरेंट और एफरेंट कपलिंग की गणना करके मात्रात्मक स्थिरता विश्लेषण भी प्रदान करता है। यह टूल ES6, CommonJS और TypeScript के लिए मल्टी-स्टैंडर्ड मॉड्यूल पार्सिंग, साथ ही फोल्डर-स्तरीय एकत्रीकरण के साथ डिपेंडेंसी ग्राफ विज़ुअलाइज़ेशन सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह निरंतर एकीकरण (CI) के लिए ऑटोमेशन सुविधाएँ प्रदान करता है, जैसे कि उल्लंघन बेसलाइनिंग और JSON या CSV प्रारूपों में संरचित डेटा एक्सपोर्ट। सिस्टम में स्थानीय वातावरण के आधार पर अनुकूलित कॉन्फ़िगरेशन फ़ाइलें उत्पन्न करने के लिए एक इंटरैक्टिव प्रोजेक्ट कॉन्फ़िगरेशन बूटस्ट्रैपिंग प्रक्रिया शामिल है।
Finds and eliminates recursive module import loops in JavaScript and TypeScript projects to avoid runtime errors.
npm-check is a command-line tool that audits a project's npm dependencies, comparing local package versions against the npm registry to identify outdated, unused, or incorrect entries. It scans both package.json and node_modules, and can also inspect globally installed npm packages for the same issues. The tool distinguishes itself by offering multiple modes of operation. It can automatically update all outdated dependencies to their latest versions without interaction, suitable for automated scripts. Alternatively, it provides an interactive terminal interface that lets users review and
Analyzes source code imports to flag packages listed in the manifest that are never referenced.
eslint-plugin-import एक ESLint स्टेटिक एनालिसिस प्लगइन है जो इम्पोर्ट स्टेटमेंट्स को वैलिडेट करने और फाइल्स के कोड इम्पोर्ट व एक्सपोर्ट करने के तरीके पर आर्किटेक्चरल कंस्ट्रेंट्स लागू करने के लिए नियमों और रिजॉल्वर्स का एक सूट प्रदान करता है। यह एक मॉड्यूल वैलिडेटर और रिजॉल्वर के रूप में काम करता है ताकि यह सुनिश्चित किया जा सके कि इम्पोर्ट डिक्लेरेशन्स वैध फाइल्स की ओर इशारा करते हैं और संदर्भित सिम्बल्स मौजूद हैं। यह प्रोजेक्ट सर्कुलर डिपेंडेंसी को रोकने के लिए रिकर्सिव इम्पोर्ट चेन्स की पहचान करता है और एलियास व नॉन-स्टैंडर्ड फाइल पाथ्स को मैप करने के लिए एक कॉन्फ़िगर करने योग्य रिज़ॉल्यूशन सिस्टम का उपयोग करता है। यह प्लगइन इम्पोर्ट स्टाइल एनफोर्समेंट, मॉड्यूल सिस्टम्स के प्रतिबंध और रनटाइम एरर्स को रोकने के लिए एक्सपोर्ट उपलब्धता के सत्यापन जैसे व्यापक कोड क्वालिटी क्षेत्रों को कवर करता है।
Scans for recursive import loops in module graphs to identify circular dependencies.
depcheck JavaScript इकोसिस्टम के लिए एक प्रोजेक्ट डिपेंडेंसी ऑडिटर और npm डिपेंडेंसी एनालाइज़र है। यह एक एब्स्ट्रैक्ट सिंटैक्स ट्री पार्सर के रूप में कार्य करता है जो प्रोजेक्ट मैनिफेस्ट फ़ाइल के भीतर अप्रयुक्त पैकेजों या गायब घोषणाओं की पहचान करने के लिए सोर्स कोड को स्कैन करता है। यह टूल डिपेंडेंसी इम्पोर्ट्स का पता लगाने के लिए कई भाषा सिंटैक्स और फ़ाइल फॉर्मेट्स को पार्स करके खुद को अलग बनाता है। यह बिल्ड टूल्स, लिंटर्स और टेस्ट रनर्स के लिए टूल-विशिष्ट कॉन्फ़िगरेशन फ़ाइलों के भीतर घोषित डिपेंडेंसीज़ की पहचान कर सकता है, और कस्टम डिटेक्टर्स और पार्सर्स के माध्यम से एक्स्टेंसिबिलिटी का समर्थन करता है। यह सिस्टम डिपेंडेंसी मैनिफेस्ट वैलिडेशन और प्रोजेक्ट ऑडिटिंग के लिए क्षमताएं प्रदान करता है, जो वास्तविक सोर्स कोड उपयोग के विरुद्ध घोषित पैकेजों को क्रॉस-रेफरेंस करता है। इसमें ग्लोब एक्सप्रेशंस के माध्यम से विश्लेषण परिणामों को फ़िल्टर करने और JSON और सादे टेक्स्ट जैसे फॉर्मेट्स में रिपोर्ट एक्सपोर्ट करने की सुविधाएं शामिल हैं। उपयोगकर्ता कमांड लाइन फ़्लैग्स या समर्पित कॉन्फ़िगरेशन फ़ाइलों के माध्यम से विश्लेषण नियमों और इग्नोर पैटर्न को कॉन्फ़िगर कर सकते हैं।
Locates packages declared in the manifest file that are not imported or used anywhere in the code.
OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework
Identifies and deletes specified library dependencies from build configuration files to clean up unused modules.
The dependency analysis Gradle plugin is a diagnostic and management tool designed to optimize build configurations for JVM and Android projects. It identifies unused dependencies and plugins by inspecting source code and compiled bytecode, ensuring that project configurations remain lean and efficient. By integrating directly into the build lifecycle, the plugin provides actionable insights that help maintain clean dependency declarations and reduce unnecessary build overhead. The project distinguishes itself through a heuristic-based advice engine that explains the rationale behind every re
Detects dependencies declared in configuration that are not used in the compiled output.