awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
webpro-nl avatar

webpro-nl/knip

0
View on GitHub↗
11,560 نجوم·432 تفرعات·TypeScript·ISC·6 مشاهداتknip.dev↗

Knip

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 TypeScript project cleanup. This includes detecting transitive dependencies that are missing from the manifest and identifying orphaned modules or unused types.

Features

  • Dead Code Elimination - Performs static analysis to identify and isolate unreferenced exports and dead code modules.
  • Dependency Analysis Tools - Scans source code and build configurations to identify unused files, dependencies, and exports.
  • Missing Dependency Detection - Identifies packages used in the source code that are missing from the manifest to prevent transitive dependency reliance.
  • Unused Dependency Identification - Analyzes code and configuration to find packages listed in the manifest that are not imported.
  • Dependency Bloat Reducers - Finds and removes unused packages from project manifests to reduce bundle size and security risks.
  • Reverse Module Graphs - Implements a reverse module graph to track whether specific exports are consumed by any other file.
  • Workspace Managers - Tracks dependencies and exports across multiple interconnected packages within a monorepo workspace.
  • Package Manifests - Analyzes package manifests to identify missing or unused dependencies by comparing them with actual imports.
  • Unused Package Identification - Identifies and removes unused packages from package manifests by analyzing source code imports.
  • Dead Code Cleanup - Scans source code and configuration to locate orphaned modules and unused types.
  • Module Resolution - Resolves module imports across multiple internal packages by mapping relationships within monorepo workspaces.
  • Monorepo Dependency Auditing - Tracks exports and dependencies across multiple workspaces to find dead code in large multi-package projects.
  • Syntax Tree Analysis - Parses source code into abstract syntax trees to identify import and export declarations for static analysis.
  • Transitive Dependency Detection - Identifies packages used in the code that are missing from the manifest to prevent runtime crashes.
  • Automated Code Cleaning - Automatically deletes unreferenced exports and unused dependencies to maintain a lean codebase.
  • Dependency Isolation Systems - Separates production and development dependencies to isolate dead code analysis across different environments.
  • Bundler Entry Points - Uses framework-specific plugins to discover the entry point files that serve as roots for dependency analysis.
  • Automatic Export Removal - Automatically deletes unreferenced exports directly from the source code to remove project clutter.
  • Dependency Removers - Automatically deletes unused packages from the project manifest to clean up the codebase.
  • Export Usage Tracers - Tracks imports across files and workspaces to visualize the reverse module graph for specific exports.
  • Analysis Plugin Frameworks - Uses a plugin system to identify entry points and dependency patterns specific to various coding frameworks.

سجل النجوم

مخطط تاريخ النجوم لـ webpro-nl/knipمخطط تاريخ النجوم لـ webpro-nl/knip

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Knip

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Knip.
  • sverweij/dependency-cruiserالصورة الرمزية لـ sverweij

    sverweij/dependency-cruiser

    6,804عرض على GitHub↗

    Dependency-cruiser is a JavaScript and TypeScript dependency analyzer and architectural linter. It serves as a static analysis tool for mapping, visualizing, and validating module relationships within a codebase without requiring code execution. The project is distinguished by its ability to enforce architectural boundaries through a rule-based system. It detects circular dependencies, identifies orphan modules and dead code, and validates dependency constraints using allowed and forbidden relationship rules. It also provides quantitative stability analysis by calculating afferent and efferen

    JavaScript
    عرض على GitHub↗6,804
  • uncss/grunt-uncssالصورة الرمزية لـ uncss

    uncss/grunt-uncss

    3,795عرض على GitHub↗

    grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization plugin that identifies and deletes redundant style rules to reduce stylesheet file sizes and improve frontend performance. The tool analyzes HTML files and headless browser DOM states to detect styles that do not match any elements in the markup. It supports the protection of specific selectors through whitelists to ensure that styles for dynamically injected elements are preserved during the cleanup process. The project covers frontend asset minification by compressing cleaned

    HTML
    عرض على GitHub↗3,795
  • rollup/rollupالصورة الرمزية لـ rollup

    rollup/rollup

    26,288عرض على GitHub↗

    Rollup is an ES module bundler and JavaScript module transpiler. It functions as a build tool that combines JavaScript modules into optimized files and converts modern JavaScript and JSX into various output formats for different runtime environments. The project is distinguished by its static-analysis tree shaking engine, which removes unused code and dead exports to minimize bundle size. It also acts as a code splitting orchestrator, partitioning modules into separate chunks to optimize network requests and load times. The tool provides a hook-based plugin system for extending build logic,

    JavaScript
    عرض على GitHub↗26,288
  • depcheck/depcheckالصورة الرمزية لـ depcheck

    depcheck/depcheck

    4,935عرض على GitHub↗

    depcheck is a project dependency auditor and npm dependency analyzer for the JavaScript ecosystem. It functions as an abstract syntax tree parser that scans source code to identify unused packages or missing declarations within a project manifest file. The tool distinguishes itself by parsing multiple language syntaxes and file formats to locate dependency imports. It can identify dependencies declared within tool-specific configuration files for build tools, linters, and test runners, and supports extensibility through custom detectors and parsers. The system provides capabilities for depen

    JavaScript
    عرض على GitHub↗4,935
عرض جميع البدائل الـ 30 لـ Knip→

الأسئلة الشائعة

ما هي وظيفة webpro-nl/knip؟

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.

ما هي الميزات الرئيسية لـ webpro-nl/knip؟

الميزات الرئيسية لـ webpro-nl/knip هي: Dead Code Elimination, Dependency Analysis Tools, Missing Dependency Detection, Unused Dependency Identification, Dependency Bloat Reducers, Reverse Module Graphs, Workspace Managers, Package Manifests.

ما هي البدائل مفتوحة المصدر لـ webpro-nl/knip؟

تشمل البدائل مفتوحة المصدر لـ webpro-nl/knip: sverweij/dependency-cruiser — Dependency-cruiser is a JavaScript and TypeScript dependency analyzer and architectural linter. It serves as a static… uncss/grunt-uncss — grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization… rollup/rollup — Rollup is an ES module bundler and JavaScript module transpiler. It functions as a build tool that combines JavaScript… depcheck/depcheck — depcheck is a project dependency auditor and npm dependency analyzer for the JavaScript ecosystem. It functions as an… farm-fe/farm — Farm is a Rust-based web build tool and development server that compiles JavaScript, TypeScript, CSS, HTML, and static… you-dont-need/you-dont-need-lodash-underscore — This project is a dependency reduction tool and ESLint plugin designed to remove heavy utility libraries from…