AST-based refactoring with ts-morph

Building an E-Ink weather display for our home