A correct, efficient compiler toolchain for JavaScript and TypeScript.

★ 1,002⑂ 31👁 7⑃ 232● 95▤ 121
ZigMITCreated 2025-10-22yuku.fyi
下载:v0.28.1v0.28.1 ↓0.28.12026-11-15
+0
日增长
1,002
stars
31
forks
7
watchers
232
prs
95
issues
121
releases

README

Yuku is a high-performance JavaScript/TypeScript compiler toolchain written in Zig.

Try it in the playground →



 JavaScript

bash
npm install yuku


One import parses, analyzes, walks, builds, and prints JavaScript and TypeScript, in Node.js, Bun, Deno, browsers, and edge runtimes. See the JavaScript guide.

 Zig

bash
zig fetch --save git+https://github.com/yuku-toolchain/yuku.git


The parser, AST, semantic analysis, traversal, and codegen are documented at yuku.fyi.

 Contributing

See CONTRIBUTING.md to set up, test, and try a change. Report vulnerabilities privately, as SECURITY.md describes.

 License

Yuku is licensed under the MIT License.

Top issues

Latest release

v0.28.1 v0.28.1 2026-11-15
Changes

- print on a file whose program and comments have not been read prints straight from its source, without building the tree in JavaScript, so parsing and printing a file is faster (325 by @arshad-yaseen)
- Parsing is faster on code with many operators, strings, and block comments (325 by @arshad-yaseen)
- A parenthesized arrow body that cannot be arrow parameters no longer takes the conditional's : as its return type, so a ? (...b) = ([(c)]) : d = e parses as TypeScript reads it (326 by @arshad-yaseen)

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON