TypeScript Formatter (tsfmt)

JSON →
library 7.2.2 ·javascript maintenance
verified May 27, 2026

typescript-formatter (tsfmt) is a command-line tool designed for formatting TypeScript code. It leverages the TypeScript Compiler Service API for its formatting capabilities, ensuring alignment with TypeScript's own language services. The current stable version is 7.2.2. Its release cadence appears to be moderate, with the last update (v7.2.2) released in February 2023. A key differentiator is its reliance on the official TypeScript language services, aiming for consistent formatting. It also supports reading configuration from `tsconfig.json`, `tslint.json`, `.editorconfig`, `.vscode/settings.json`, and `tsfmt.json`, allowing for highly customizable formatting rules across various project setups. It provides options for formatting files in place, outputting to stdout, or verifying file formats, making it suitable for both local development and CI/CD pipelines.

total hits 13
actors 5 distinct systems
last hit 3d ago AhrefsBot
GPTBot
5
Script
2
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India · 🇩🇪 Germany · 🇫🇷 France