Transform raw JavaScript into strictly typed TypeScript and hardened, production-ready JavaScript at native C speed. Powered by a 10-pass semantic analyzer and the TSX security engine.
$ jts auto app.js
Reads & tokenizes standard ES2020+ & Node.js files in microseconds.
Infers primitives, union arrays, generics, interfaces, and OOP classes.
Eliminates weak any types, validates syntax, and compiles via tsc.
JSM3TS is free for personal and commercial use. Your contribution directly funds cross-platform maintenance, new semantic analyzer passes, and official tooling.
Built from scratch in ANSI/C99 with native cross-platform support and zero runtime overhead.
Detects primitives, deduplicated union arrays, polymorphic generics <T, U>, nested interfaces, and Node.js APIs automatically.
Validates brace balance, upgrades weak any annotations to unknown, compacts whitespace, and prepares clean output.
Switch effortlessly between Mode W (Full Rebuild), Mode A (Fast Incremental), Mode G (Safe JS), and Mode AUTO.
Queue files and folders (jts add src) and build your entire project in one command with jts run or jts run liste.
Verify Node.js, npm, npx, TypeScript, system PATH, and folder permissions instantly via jts doctor.
One-click transpilation from the editor title bar, live status bar mode switcher, and automatic compile-on-save.
Select a preset or edit the JavaScript input to preview how JSM3TS infers types and builds hardened output.
Native standalone binaries for every major operating system plus the official VS Code extension.
Download the standalone executable, then run in your Downloads folder:
.\jts.exe install
SmartScreen? Click More info → Run anyway.
Download the standalone binary, then run in your Downloads folder:
chmod +x jts-linux && ./jts-linux install
Supports Ubuntu, Debian, Fedora, Arch & WSL.
Native Mach-O binary with automatic .zshrc PATH configuration (coming soon).
chmod +x jts && ./jts install
Official extension with ▶ run button, status bar mode switcher & auto-sync.
code --install-extension jsm3ts-runner-1.0.0.vsix
Windows SmartScreen Notice: Because JSM3TS is a newly released independent C99 binary, Windows Defender SmartScreen may display an "Unrecognized app" warning during the first days of distribution. You can also double-click jts.exe after clicking More info → Run anyway to launch the built-in installer.
Everything JSM3TS automatically detects, infers, and types across its 10 semantic analysis passes:
jts app.js # Run active mode
jts mode <a|w|g|auto> # Set persistent mode
jts w app.js # Full TypeScript rebuild
jts a app.js # Fast incremental append
jts g app.js # TSX harden + tsc compile
jts auto app.js # Full 3-stage pipeline
jts add app.js # Queue single file
jts add src # Queue folder (/src)
jts rm app.js # Remove item from queue
jts ls # Show queue & active mode
jts run # Transpile all queued items
jts run liste # Build dist/*.js for all
jts doctor # Check Node, TS & PATH
jts info # Show Core, TSX & CLI versions
jts stats # Usage statistics by mode
jts clean # Remove generated/ & dist/
jts errors # View error log history
jts check-update # Check for new releases