Advent of Code
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
2017
2018
utils
.editorconfig
.eslintrc
.gitignore
README.md
index.mjs
package-lock.json
package.json

README.md

Advent of Code

JavaScript / ES6+ solutions for https://adventofcode.com.

Supported Node versions: 10 or higher

Setup

Install Node.js 10 or higher for your platform.

Install dependencies through npm:

npm install

Running solutions

To run solutions for the most recent edition for all days:

npm start

To run specific solutions, pass one or more day numbers as arguments:

npm start 1 4 9

To run solutions for a different edition, pass the year as the first argument:

npm start 2017
npm start 2017 1 4 9