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

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dsherret avatar

dsherret/ts-morph

0
View on GitHub↗
6,110 estrellas·234 forks·TypeScript·MIT·9 vistasts-morph.com↗

Ts Morph

ts-morph es una librería de manipulación de AST de TypeScript y un wrapper de alto nivel para la API del compilador de TypeScript. Proporciona una interfaz programática para analizar, modificar y generar código fuente TypeScript, sirviendo como una herramienta para la refactorización automatizada de código y la generación de código fuente.

La librería simplifica el proceso de navegación e inspección de estructuras de proyectos ofreciendo una abstracción orientada a objetos sobre la API del compilador subyacente. Permite la transformación programática de bases de código existentes para automatizar actualizaciones estructurales y migraciones masivas de código.

Sus capacidades cubren el análisis estático de código, la navegación de elementos de código y la gestión de archivos fuente a través de importación, generación y eliminación. El proyecto integra la verificación de tipos y utiliza el descubrimiento de archivos basado en glob para mantener una representación en memoria de la base de código, que luego puede persistirse de nuevo en el sistema de archivos físico.

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.

Historial de estrellas

Gráfico del historial de estrellas de dsherret/ts-morphGráfico del historial de estrellas de dsherret/ts-morph

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Ts Morph

Proyectos open-source similares, clasificados según cuántas características comparten con Ts Morph.
  • benjamn/recastAvatar de benjamn

    benjamn/recast

    5,246Ver en GitHub↗

    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
    Ver en GitHub↗5,246
  • adamchainz/django-upgradeAvatar de adamchainz

    adamchainz/django-upgrade

    1,214Ver en GitHub↗

    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
    Ver en GitHub↗1,214
  • rectorphp/rectorAvatar de rectorphp

    rectorphp/rector

    10,199Ver en GitHub↗

    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
    Ver en GitHub↗10,199
  • rust-lang/rust-clippyAvatar de rust-lang

    rust-lang/rust-clippy

    13,309Ver en GitHub↗

    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
    Ver en GitHub↗13,309
Ver las 30 alternativas a Ts Morph→

Preguntas frecuentes

¿Qué hace dsherret/ts-morph?

ts-morph es una librería de manipulación de AST de TypeScript y un wrapper de alto nivel para la API del compilador de TypeScript. Proporciona una interfaz programática para analizar, modificar y generar código fuente TypeScript, sirviendo como una herramienta para la refactorización automatizada de código y la generación de código fuente.

¿Cuáles son las características principales de dsherret/ts-morph?

Las características principales de dsherret/ts-morph son: Compiler API Wrappers, Automated Code Refactoring, Type-Checker Integrations, Structural Code Navigation, AST Manipulation Libraries, Code Generation Toolsets, Programmatic Code Refactoring, TypeScript Source Transformers.

¿Qué alternativas de código abierto existen para dsherret/ts-morph?

Las alternativas de código abierto para dsherret/ts-morph incluyen: 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…