Fast Svelte and TypeScript formatter
The author built tsv, a Rust formatter and parser for TypeScript/JS, CSS, and Svelte, with Claude Code over about a year.
tsv formats TypeScript about 2.2x faster than Oxfmt and about 36x faster than Prettier, and ships as a VS Code extension.
Overview
How it was set up
Claude Code wrote the Rust codebase. The author drew on Prettier's style, fixed its quirks, and used Svelte 5 whitespace rules.
Worth knowing
Skips JSX/TSX and SCSS, takes no style config, and error-case parser conformance is unfinished.
A prompt to start from
The source does not show the prompt.
Sources 1
History
- Source published
- 2026-10-14
- Added to Agentic Feats
- 2026-10-26
- Pick
- No
- Markdown copy
- /c/fast-svelte-and-typescript-formatter-claude-code.md
More in coding
131 featsResult$28,335 spent, 9,350 commits across 145 repos, with spend up 7.4x in April after parallel git worktrees. Only 0.7% of tool calls ran overnight.
ResultOpus 5.5 recorded the repo's demo video itself using the record feature, and the author uses the tool constantly for debugging.
ResultA nightly workflow found a meteor on 25 October 2026. The bundled night detector found 95% of planes and 90% of meteors on held-out nights.