https://github.com/tom-sherman/aoc-2022
https://github.com/tom-sherman/aoc-2022
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tom-sherman/aoc-2022
- Owner: tom-sherman
- Created: 2022-11-29T23:35:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T10:00:15.000Z (over 2 years ago)
- Last Synced: 2025-02-05T01:41:58.692Z (5 months ago)
- Language: TypeScript
- Size: 31.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎄🎅 Advent of Code 2022
In Deno!
## Running
Each solution is a module inside `src/` that exports two functions: `solvePart1` and `solvePart2`. They have the type `string => string | Promise`.
To run a solution, pass the day and part numbers to the `solve` script:
```
deno task solve 1 1
deno task solve --day=1 --part=1
```You'll need a session token from [adventofcode.com](https://adventofcode.com/2022) to check the solutions. This is obtained from the `session` cookie after logging in.