awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dsherret avatar

dsherret/ts-morph

0
View on GitHub↗
6,110 Stars·234 Forks·TypeScript·MIT·5 Aufrufets-morph.com↗

Ts Morph

ts-morph ist eine TypeScript-AST-Manipulationsbibliothek und ein High-Level-Wrapper für die TypeScript-Compiler-API. Sie bietet eine programmatische Schnittstelle zur Analyse, Modifikation und Generierung von TypeScript-Quellcode und dient als Tool für automatisierte Code-Refactorings und Quellcode-Generierung.

Die Bibliothek vereinfacht den Prozess der Navigation und Inspektion von Projektstrukturen, indem sie eine objektorientierte Abstraktion über die zugrunde liegende Compiler-API bietet. Sie ermöglicht die programmatische Transformation bestehender Codebasen, um strukturelle Updates und Massen-Code-Migrationen zu automatisieren.

Die Funktionen decken statische Codeanalyse, Navigation durch Code-Elemente und die Verwaltung von Quelldateien durch Import, Generierung und Löschung ab. Das Projekt integriert Typprüfungen und verwendet glob-basierte Dateierkennung, um eine In-Memory-Repräsentation der Codebasis aufrechtzuerhalten, die anschließend wieder auf dem physischen Dateisystem gespeichert werden kann.

Features

  • Compiler API Wrappers - Provides a high-level object-oriented wrapper around the TypeScript compiler API for easier AST manipulation.
  • Compiler API Wrappers - Wraps the low-level TypeScript compiler API to provide a high-level object-oriented interface for code manipulation.
  • Automated Code Refactoring - Implements a programmatic interface for automatically applying structural changes and refactoring across TypeScript projects.
  • Type-Checker Integrations - Links structural analysis of source code to the TypeScript compiler's type-checking engine for semantic validation.
  • Structural Code Navigation - Provides programmatic interfaces for navigating the abstract syntax tree to locate and analyze specific code elements.
  • AST Manipulation Libraries - Serves as a programmatic wrapper around the TypeScript compiler API for analyzing and modifying source code via ASTs.
  • Code Generation Toolsets - Provides a programmatic interface for creating and persisting new TypeScript files and directory structures to disk.
  • Programmatic Code Refactoring - Automates structural changes and updates to TypeScript source code through a programmatic interface.
  • TypeScript Source Transformers - Provides a programmatic API for transforming existing TypeScript code to automate refactoring and structural updates.
  • Source Code Generators - Programmatically creates new TypeScript files and builds complete code structures from scratch.
  • Syntax Tree Transformers - Provides tools for modifying and rewriting TypeScript syntax trees to generate new code structures.
  • Static Code Analysis - Provides an automated way to scan and inspect TypeScript project structures to extract structural and architectural information.
  • Structural Code Analysis - Enables the extraction of structural information from the codebase using abstract syntax trees for analysis and refactoring.
  • Bulk File Content Updates - Provides utilities for modifying existing files by replacing text or updating source objects across multiple files.
  • Compiler-Based Tooling Frameworks - Facilitates the creation of specialized tools that interact with the TypeScript compiler for code manipulation.
  • TypeScript File Generators - Creates new TypeScript files within a project to build code structures through a programmatic interface.
  • Automated Migration Codemods - Enables the creation of scripted code transformations to automate syntax updates and breaking change resolution in bulk.
  • Source File Importers - Loads files into a project using specific paths, glob patterns, or configuration files for analysis.
  • File System Operations - Provides an API for updating files and directory structures on the local disk.
  • Disk Persistence - Synchronizes in-memory changes to the code structure back to the physical file system.
  • Project Graph Representations - Maintains a cached in-memory graph of files and their relationships to enable fast codebase analysis.
  • AST & Language Tools - Wrapper for TypeScript compiler API.

Star-Verlauf

Star-Verlauf für dsherret/ts-morphStar-Verlauf für dsherret/ts-morph

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Ts Morph

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Ts Morph.
  • benjamn/recastAvatar von benjamn

    benjamn/recast

    5,246Auf GitHub ansehen↗

    Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into abstract syntax trees that can be modified and then printed back into source code. The project focuses on formatting-preserving transformations, storing original whitespace and indentation metadata within syntax tree nodes to reconstruct code without losing its original layout. It also generates character-level source maps to maintain precise correspondences between original input and transformed output. The toolkit includes utilities for syntax tree manipulation using a visito

    TypeScript
    Auf GitHub ansehen↗5,246
  • adamchainz/django-upgradeAvatar von adamchainz

    adamchainz/django-upgrade

    1,214Auf GitHub ansehen↗

    Django-upgrade is a command-line tool that automatically modernizes legacy Python and Django codebases by rewriting outdated syntax patterns into current idioms. It operates as a static analysis linter and source code transformation engine, parsing files to identify deprecated constructs and replacing them in place while preserving project integrity. The software uses a rule-based transformation architecture driven by abstract syntax tree parsing to execute modular refactoring tasks. Developers can configure target version settings to ensure the tooling only applies updates appropriate for th

    Pythondjango
    Auf GitHub ansehen↗1,214
  • rectorphp/rectorAvatar von rectorphp

    rectorphp/rector

    10,199Auf GitHub ansehen↗

    Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize syntax using predefined rules. It functions as a static analysis engine that inspects code structures and types to identify refactoring targets without executing the code. The project provides a framework for defining custom transformation logic to automate project-specific changes. It distinguishes itself by offering specialized capabilities for migrating legacy or custom frameworks to modern alternatives and converting docblock annotations into native language attributes. The s

    PHPastautomated-upgradesinstant-upgrades
    Auf GitHub ansehen↗10,199
  • rust-lang/rust-clippyAvatar von rust-lang

    rust-lang/rust-clippy

    13,309Auf GitHub ansehen↗

    This project is a static analysis linter, code quality tool, and language auditor for Rust. It functions as an automated refactoring system designed to identify common mistakes and suggest idiomatic improvements for Rust source code. The tool identifies non-idiomatic patterns, performance bottlenecks, and code smells to improve the overall correctness and quality of the code. It specifically audits memory safety by flagging suspicious use of unsafe blocks and pointer manipulations and detects inefficient operations to optimize execution speed. The analysis surface covers coding style enforce

    Rustlintrust
    Auf GitHub ansehen↗13,309
Alle 30 Alternativen zu Ts Morph anzeigen→

Häufig gestellte Fragen

Was macht dsherret/ts-morph?

ts-morph ist eine TypeScript-AST-Manipulationsbibliothek und ein High-Level-Wrapper für die TypeScript-Compiler-API. Sie bietet eine programmatische Schnittstelle zur Analyse, Modifikation und Generierung von TypeScript-Quellcode und dient als Tool für automatisierte Code-Refactorings und Quellcode-Generierung.

Was sind die Hauptfunktionen von dsherret/ts-morph?

Die Hauptfunktionen von dsherret/ts-morph sind: Compiler API Wrappers, Automated Code Refactoring, Type-Checker Integrations, Structural Code Navigation, AST Manipulation Libraries, Code Generation Toolsets, Programmatic Code Refactoring, TypeScript Source Transformers.

Welche Open-Source-Alternativen gibt es zu dsherret/ts-morph?

Open-Source-Alternativen zu dsherret/ts-morph sind unter anderem: benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… adamchainz/django-upgrade — Django-upgrade is a command-line tool that automatically modernizes legacy Python and Django codebases by rewriting… rust-lang/rust-clippy — This project is a static analysis linter, code quality tool, and language auditor for Rust. It functions as an… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize… eliben/pycparser — pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python… hylang/hy — Hy is a Lisp implementation for Python that allows for writing Lisp syntax which compiles to Python bytecode. It…