This repository contains my attempts to solve Advent of Code problems. They are not elegant but work well.
โโโ I highly recommend trying to solve problems yourself before looking for solutions from others, it will be more rewarding and fun! ๐
- Install dependencies:
npm install
- Set your session cookie to environment variable COOKIE in
.env
file:
COOKIE="session=qwerty12345"
You can get it from request header cookie
or from browser cookies, obviously.
- Run the command:
# for day 1 of year 2021
npm run day 2021 1