{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides TypeScript and TSX language grammars for tree-sitter, enabling incremental parsing and syntax tree generation for TypeScript and JSX code.","skillfed_tags":["parsing","typescript","syntax-tree"],"use_cases":["Build a TypeScript linter or code analyzer that needs to walk the syntax tree.","Generate code transformations or refactoring tools for TypeScript projects.","Implement IDE features like symbol navigation or syntax highlighting for TypeScript.","Parse and analyze TypeScript codebases for metrics, complexity, or dependency extraction.","Create a code formatter or pretty-printer for TypeScript and TSX."],"what_it_does":"tree-sitter-typescript is a grammar module that plugs into the tree-sitter incremental parser framework, providing language definitions for TypeScript and TSX (TypeScript with JSX). It lets you parse TypeScript and TSX source code into syntax trees that can be queried and analyzed programmatically. The package ships as precompiled binaries for major platforms, reducing setup friction.\n\nYou use this when you need to analyze, transform, or lint TypeScript code at the syntax level\u2014building developer tools, linters, code generators, or IDE features. It's part of the tree-sitter ecosystem, which emphasizes speed and incremental updates; the grammar itself is maintained by the tree-sitter project and tracks the TypeScript language spec.","worth_installing":"Yes, if you are building tools that need to parse TypeScript or TSX and you are already using tree-sitter. The package is well-maintained within the tree-sitter ecosystem, has no known vulnerabilities, and provides prebuilt binaries for common platforms. Install friction is moderate but manageable. Not necessary if you only need basic TypeScript parsing or are using a different parsing framework."},"id":"tree-sitter-typescript","links":{"html":"https://skillfed.io/packages/tree-sitter-typescript","md":"https://skillfed.io/packages/tree-sitter-typescript.md","pypi":"https://pypi.org/project/tree-sitter-typescript/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-11-11","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-typescript","python_support":"supports_current","summary":"TypeScript and TSX grammars for tree-sitter"},"popularity":{"monthly_downloads":7804794,"position":1692,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.23.2"}
