JavaScript solutions to advent of code challenges
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
2015
2017
spec
utils
.eslintrc.js
.gitignore
README.md
index.js
package-lock.json
package.json

README.md

Advent of Code JavaScript Solutions

This is a repository for me to attempt the Advent of Code challenges in JavaScript.

In past years I've solved them using C# and F#. read about my solutions here. This repository is for me to improve my JavaScript skills by solving the puzzles with node.js as ES6. I've ported my 2015 solutions to JavaScript, and in 2017 I just used JavaScript.

To get started:

npm install

To solve all puzzles for this year

node index.js

To run all tests for 2015:

node index.js 2015

To run tests for 2015 day 10

node index.js 2015 10

To run Jasmine unit tests

npm test

To run a subset of Jasmine unit tests

npm test -- --filter="flatMap"

Blog posts about 2017 solutions