Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Advent of Code

Node Version MIT License CI

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

Advent of Code

Setup

Install Node.js 12 or higher for your platform.

Install dependencies through npm:

npm install

Running solutions

To run all solutions for the current edition:

npm start

To run solutions for specific days, pass one or more days as arguments:

npm start 1 4 9

To run solutions for a different edition, specify the year:

npm start 2017
npm start 2017 1 4 9

To run a combination of solutions from different editions, mix and match years and days, reading from left to right.

Example to run 2017 day 1 and 4, 2018 all days, and 2019 day 5:

npm start 2017 1 4 2018 2019 5

Progress overview

To generate and display a progress overview, run:

npm run progress

Development

To monitor code changes and re-run solutions during development:

npm run start:dev 2018 6

Bootstrap solution

To bootstrap an empty solution for a given year and day, run:

npm run bootstrap 2019 20

Bootstrapping solutions for multiple days is not supported.

Tests

To run tests for utilities:

npm run test

About

JavaScript / ES6+ solutions for Advent of Code

Resources

License

Releases

No releases published

Packages

No packages published