Have you ever developed a library project in the TypeScript language? Unlike API servers or desktop applications, library projects don't have a script or function for every run, so it's common to organize the different functions and variables you want to include in your library into a barrel file. However, it's a hassle to rewrite the [barrel file](https://basarat.gitbook.io/typescript/main-1/barrel) every time you add a function or variable, and it's easy to accidentally miss the intended function or variable. In addition, barrel file generators that don't parse can produce barrel files that can cause compilation errors. ctix uses the TypeScript compiler API to search your TypeScript project for functions and variables with the export keyword appended, automatically generating a barrel file that's always compilable.
Show HN: Ctix – Next generation TypeScript barrel file(index.ts) generator | Heykuki News