{"library":"tree-sitter-typescript","type":"library","category":null,"description":"tree-sitter-typescript provides pre-compiled TypeScript and TSX grammars for the `tree-sitter` parsing library in Python. It allows developers to parse TypeScript and TSX code into concrete syntax trees for advanced code analysis and manipulation. The library is actively and regularly updated, with the current stable version being 0.23.2.","language":"python","status":"active","version":"0.23.2","tags":["tree-sitter","parsing","typescript","tsx","grammar","ast","code analysis"],"last_verified":"Thu May 21","install":[{"cmd":"pip install tree-sitter tree-sitter-typescript","imports":["from tree_sitter import Language, Parser\nimport tree_sitter_typescript\nTS_LANGUAGE = Language(tree_sitter_typescript.language(), 'typescript')","from tree_sitter import Language, Parser\nimport tree_sitter_typescript\nTSX_LANGUAGE = Language(tree_sitter_typescript.tsx_language(), 'tsx')"]}],"homepage":null,"github":"https://github.com/tree-sitter/tree-sitter-typescript","docs":null,"changelog":null,"pypi":"https://pypi.org/project/tree-sitter-typescript/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tree-sitter-typescript/compatibility"}}