An open API service indexing awesome lists of open source software.

https://github.com/tom-sherman/aoc-2022


https://github.com/tom-sherman/aoc-2022

Last synced: 3 months ago
JSON representation

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.