This was the code for my talk at tsconf 2018.
- slides.pptx - My slides.
npm run analyze
- Analyze the code. Finds all the classes with extends expressions (scripts/analyze.ts).npm run refactor
- Changes all the class declarations fromPascalCase
tosnake_case
(scripts/refactor.ts).
~/src
- Contains a sample application.~/scripts
- Contains the scripts that analyze and manipulate the sample application.
- ts-ast-viewer - View the TypeScript AST including types, symbols, and more.
- ts-simple-ast - Library for analyzing and manipulating typescript code.
Other libraries I should have mentioned in the talk:
- Type Doc - TypeScript documentation generator.
- barrel-maintainer - Automated real-time barrel maintenance.
- More?