https://github.com/nanot1m/adventofcode2022
https://github.com/nanot1m/adventofcode2022
adventofcode2022
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nanot1m/adventofcode2022
- Owner: nanot1m
- Created: 2022-11-29T13:12:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-25T06:06:06.000Z (almost 3 years ago)
- Last Synced: 2025-10-08T09:56:16.588Z (18 days ago)
- Topics: adventofcode2022
- Language: JavaScript
- Homepage: https://nanot1m.github.io/adventofcode2022/
- Size: 1.39 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```