Converts JavaScript to TypeScript and TypeScript to better TypeScript. π§«
TypeScript
2,253
2,151 commits
updated Oct 9, 2026
Converts JavaScript to TypeScript and TypeScript to better TypeScript. π§«
TypeStat is a CLI utility that modifies TypeScript types in existing code. The built-in mutators will only ever add or remove types and will never change your runtime behavior. TypeStat can:
--noImplicitAny and --noImplicitThis violations!nulls and undefineds to get you started with --strictNullChecks!β‘ To start, the typestat command will launch an interactive guide to setting up a configuration file. β‘
npx typestat
π Welcome to TypeStat! π This will create a new typestat.json for you. ...
After, use typestat --config typestat.json to convert your files.
To get a deeper understanding of TypeStat, read the following docs pages in order:
See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md for general tooling documentation.
For understanding the project, see ./docs in general, and especially ./docs/Architecture.md.
Thanks! π
π This package is based on @JoshuaKGoldberg's TypeStat.
Overall
Maintained
Code review
npm
Latest release
Releases this year
(top 24 of 45)
40,401 followers Β· starred Aug 2023
3,979 followers Β· starred Aug 2023
3,743 followers Β· starred Apr 2025
576 followers Β· starred Aug 2022
Converts JavaScript to TypeScript and TypeScript to better TypeScript. π§«
TypeScript
2,253
2,151 commits
updated Oct 9, 2026
Converts JavaScript to TypeScript and TypeScript to better TypeScript. π§«
TypeStat is a CLI utility that modifies TypeScript types in existing code. The built-in mutators will only ever add or remove types and will never change your runtime behavior. TypeStat can:
--noImplicitAny and --noImplicitThis violations!nulls and undefineds to get you started with --strictNullChecks!β‘ To start, the typestat command will launch an interactive guide to setting up a configuration file. β‘
npx typestat
π Welcome to TypeStat! π This will create a new typestat.json for you. ...
After, use typestat --config typestat.json to convert your files.
To get a deeper understanding of TypeStat, read the following docs pages in order:
See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md for general tooling documentation.
For understanding the project, see ./docs in general, and especially ./docs/Architecture.md.
Thanks! π
π This package is based on @JoshuaKGoldberg's TypeStat.
Overall
Maintained
Code review
npm
Latest release
Releases this year
(top 24 of 45)
40,401 followers Β· starred Aug 2023
3,979 followers Β· starred Aug 2023
3,743 followers Β· starred Apr 2025
576 followers Β· starred Aug 2022