The Problem
Migrating a JavaScript codebase to TypeScript is painful.
I spent 3 weeks doing it manually and thought —
there has to be a better way.
The Solution
I built RepoSurgeon — a CLI tool that does it automatically.
npm install -g reposurgeon
reposurgeon migrate .
That's it. Your TypeScript project appears in
./reposurgeon-output with a full diff report.
Supports 17 AI Providers
The best part — it works with whatever AI key you have:
- OpenAI, Claude, Gemini, Groq (free!), Mistral
- DeepSeek, xAI Grok, OpenRouter
- Ollama, LM Studio, Jan (local & free!)
Just set one key in .env and run.
Try It Free
No credit card needed:
GitHub
github.com/nikeshsundar/reposurgeon
Star it if you find it useful!
Top comments (0)