Skip to content
JS
Alternatives

tree-sitter-typescript alternatives

8 packages that do the same job as tree-sitter-typescript: @yuku-toolchain/types, yuku-ast, yuku-codegen, morphism, json-schema-to-ts, prisma-json-types-generator, json-edit-react, @accordproject/concerto-vocabulary. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
tree-sitter-typescript
This package
578.7k+1443%-31 year agoCommonJSBundled-
@yuku-toolchain/types3.4m--01 day agoESM onlyBundled-
yuku-ast2.9m--11 day agoESM onlyBundled-
yuku-codegen2.9m--11 day agoESM onlyBundled-
morphism16.8k-51%-0-CommonJSBundled-
json-schema-to-ts24.9m+962%-22 years agoESM + CommonJSBundled-
prisma-json-types-generator338.3k+151%-52 months agoCommonJSNone-
json-edit-react251.6k+106%-03 months agoESM + CommonJSBundled-
@accordproject/concerto-vocabulary58.5k--216 days agoESM + CommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

Shared AST, diagnostic, and traversal type definitions for the yuku toolchain

Compared with tree-sitter-typescript

  • 5.9x more weekly downloads (3.4m vs 578.7k)
  • 0 dependencies vs 3
  • ESM only vs CommonJS
  • Last release 24 Sept 2026 vs 11 Nov 2024
  • 1.8x more GitHub stars (949 vs 532)

Typed AST toolkit for JavaScript and TypeScript ESTree trees: walker, builders, guards, and syntactic utilities

Compared with tree-sitter-typescript

  • 5.1x more weekly downloads (2.9m vs 578.7k)
  • 1 dependency vs 3
  • ESM only vs CommonJS
  • Last release 24 Sept 2026 vs 11 Nov 2024
  • 1.8x more GitHub stars (949 vs 532)

High-performance JavaScript/TypeScript code generator written in Zig

Compared with tree-sitter-typescript

  • 5.0x more weekly downloads (2.9m vs 578.7k)
  • 1 dependency vs 3
  • ESM only vs CommonJS
  • Last release 24 Sept 2026 vs 11 Nov 2024
  • 1.8x more GitHub stars (949 vs 532)

Do not repeat anymore your objects transformations.

Compared with tree-sitter-typescript

  • 34x fewer weekly downloads (16.8k vs 578.7k)
  • 0 dependencies vs 3
  • Last release - vs 11 Nov 2024
  • 1.1x fewer GitHub stars (502 vs 532)

Infer typescript types from your JSON schemas!

Compared with tree-sitter-typescript

  • 43x more weekly downloads (24.9m vs 578.7k)
  • 2 dependencies vs 3
  • ESM + CommonJS vs CommonJS
  • Declares Node.js >=16 vs none declared
  • Last release 29 Aug 2024 vs 11 Nov 2024
  • 3.4x more GitHub stars (1.8k vs 532)

Changes JsonValues to your custom typescript type

Compared with tree-sitter-typescript

  • 1.7x fewer weekly downloads (338.3k vs 578.7k)
  • 5 dependencies vs 3
  • No types vs bundled types
  • Declares Node.js >=14.0 vs none declared
  • Last release 9 Jul 2026 vs 11 Nov 2024
  • 1.1x more GitHub stars (568 vs 532)

React component for editing or viewing JSON/object data

Compared with tree-sitter-typescript

  • 2.3x fewer weekly downloads (251.6k vs 578.7k)
  • 0 dependencies vs 3
  • ESM + CommonJS vs CommonJS
  • Last release 24 Jun 2026 vs 11 Nov 2024
  • 1.2x more GitHub stars (651 vs 532)

Associate human-readable text to model declarations

Compared with tree-sitter-typescript

  • 9.9x fewer weekly downloads (58.5k vs 578.7k)
  • 2 dependencies vs 3
  • ESM + CommonJS vs CommonJS
  • Declares Node.js >=18 vs none declared
  • Last release 8 Sept 2026 vs 11 Nov 2024
  • 2.6x fewer GitHub stars (208 vs 532)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.