awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dsherret avatar

dsherret/ts-morph

0
View on GitHub↗
6,110 stele·234 fork-uri·TypeScript·MIT·4 vizualizărits-morph.com↗

Ts Morph

ts-morph este o bibliotecă de manipulare AST pentru TypeScript și un wrapper de nivel înalt pentru API-ul compilatorului TypeScript. Oferă o interfață programatică pentru analizarea, modificarea și generarea codului sursă TypeScript, servind drept instrument pentru refactorizarea automată a codului și generarea de cod sursă.

Biblioteca simplifică procesul de navigare și inspecție a structurilor de proiect oferind o abstractizare orientată pe obiecte peste API-ul compilatorului subiacent. Permite transformarea programatică a bazelor de cod existente pentru a automatiza actualizările structurale și migrarea în masă a codului.

Capabilitățile sale acoperă analiza statică a codului, navigarea elementelor de cod și gestionarea fișierelor sursă prin import, generare și ștergere. Proiectul integrează verificarea tipurilor și utilizează descoperirea fișierelor bazată pe glob pentru a menține o reprezentare în memorie a bazei de cod, care poate fi apoi persistată înapoi în sistemul de fișiere fizic.

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.

Istoric stele

Graficul istoricului de stele pentru dsherret/ts-morphGraficul istoricului de stele pentru dsherret/ts-morph

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Ts Morph

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Ts Morph.
  • benjamn/recastAvatar benjamn

    benjamn/recast

    5,246Vezi pe 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
    Vezi pe GitHub↗5,246
  • rust-lang/rust-clippyAvatar rust-lang

    rust-lang/rust-clippy

    13,309Vezi pe 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
    Vezi pe GitHub↗13,309
  • rectorphp/rectorAvatar rectorphp

    rectorphp/rector

    10,199Vezi pe 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
    Vezi pe GitHub↗10,199
  • eliben/pycparserAvatar eliben

    eliben/pycparser

    3,473Vezi pe GitHub↗

    pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python objects. It functions as an abstract syntax tree generator, transforming preprocessed C code into a structured hierarchy for programmatic analysis and transformation. The library integrates with a C preprocessor to handle directives before parsing. It also features a stub header parser, which uses minimal mock headers to allow the parsing of C code without requiring a full system C library installation. The project provides tools for static code analysis, C program analysis, and so

    Python
    Vezi pe GitHub↗3,473
Vezi toate cele 30 alternative pentru Ts Morph→

Întrebări frecvente

Ce face dsherret/ts-morph?

ts-morph este o bibliotecă de manipulare AST pentru TypeScript și un wrapper de nivel înalt pentru API-ul compilatorului TypeScript. Oferă o interfață programatică pentru analizarea, modificarea și generarea codului sursă TypeScript, servind drept instrument pentru refactorizarea automată a codului și generarea de cod sursă.

Care sunt principalele funcționalități ale dsherret/ts-morph?

Principalele funcționalități ale dsherret/ts-morph sunt: Compiler API Wrappers, Automated Code Refactoring, Type-Checker Integrations, Structural Code Navigation, AST Manipulation Libraries, Code Generation Toolsets, Programmatic Code Refactoring, TypeScript Source Transformers.

Care sunt câteva alternative open-source pentru dsherret/ts-morph?

Alternativele open-source pentru dsherret/ts-morph includ: benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize… rust-lang/rust-clippy — This project is a static analysis linter, code quality tool, and language auditor for Rust. It functions as an… 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… yangyangwithgnu/use_vim_as_ide — This project is a Vim IDE configuration and plugin suite designed to transform the Vim text editor into a full…