Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nanot1m/adventofcode2022


https://github.com/nanot1m/adventofcode2022

adventofcode2022

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Advent of Code

## Year 2022

### Prerequisites

- Create `.env` file in the root directory with the following variables:
- `SESSION` - your advent of code session id. To get it login at https://adventofcode.com/2022/auth/login and get value from cookie `session`

### JS

> NodeJS >= 14

```
cd js
```

To run the solution of the day 1, run the following command:

```
npm run solve 1
```

or

```
pnpm solve 1
```

To create the template for the day 2, run the following command:

```
npm run prepare 2
```

or

```
pnpm prepare 2
```