Skip to content

jordy248/advent_of_code

Repository files navigation

Advent of Code

Setup

  1. Install Node and npm (preferably with nvm)

  2. Install dependencies:

npm i
  1. Add .env file using sample.env template:
AOC_COOKIE=<cookieGoesHere>

You can get the cookie by authorizing within Advent of Code, and then grabbing the cookie that's sent with your request (for instance, for an input): AOC cookie

Run

Run daily files with node:

node 2021/calendar/day-01/index.js

Test

Tests are run using each day's provided examples.

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published