Files
adventofcode/2025/day09/README.md
2025-12-09 19:44:31 +01:00

522 B

Day 9: Typescript

Lost a lot of time on a swapped argument order. Oh well, such is life. The package.json exists to instruct the interpreter on how to execute the file and doesn't otherwise include any meaningful dependencies. Everything works with the standard library for Node.

ts-node is used for just-in-time Typescript compilation. You can also compile the file manually first, then run it as JS. Also, Oracle, please release the name Javascript.

$ ./solve.ts sample.txt
Part 1: 50
Part 2: 24