Ghost benchmarks

The path to TypeScript

Track the migration, explore the codebase and find the next files to convert.

Commit

Progress over time

Loading published history…

Each point is a main-branch snapshot, counted with the current rules. Historical snapshots are collected locally. Counts can change through additions and deletions as well as conversions.

Progress by kind

Frontend: browser apps, Koenig editor UI and Core public browser scripts. Backend: server code and library packages, including libraries shared with the frontend. Tests and tooling stay separate. Classification follows paths, not runtime analysis.

KindJavaScript remainingTypeScript filesTypeScript by filesTypeScript by lines

Browse folders

Expand a folder to see its contents. JS and TS totals include every nested folder. Select a file to inspect its dependencies.

Progress by package

PackageJavaScript remainingTypeScript filesTypeScript by filesTypeScript by lines

Conversion candidates

File · inspect dependenciesDifficultyLinesTyped importsJS importsUnknown importsDependents

About these measurements

Counts include comments and blank lines. Declarations, preserved test inputs, vendor and build directories are separate; submodules are excluded. TypeScript file extensions measure migration progress, not type safety.

How difficulty is estimated

Each unique import per import/require mode: JavaScript +3, unresolved or unavailable Node types +5. Computed imports +5 each; each 100 lines +1; each 5 functions +1; CommonJS +2; each parse error +10. Scores ≤5 are easier, ≤15 moderate, otherwise harder. Dependents indicate impact and are not added to difficulty. Types are resolved using the nearest tracked tsconfig.json, or NodeNext defaults. Missing declarations may need a build or dependency install. Ambient declarations, bundler plugins, JSDoc quality and runtime complexity are not assessed. Manually inspect candidates before choosing work.

Inventory coverage and warnings

Current counting rules include maintained fixture modules and test helpers.