gavinaiken / aoc2017

Solutions for http://adventofcode.com/2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aoc2017

First, set up the session cookie file which will be used for fetching input. In the browser, copy the value of the session cookie for the site, which should be a long hex string, and save it in a file called session.cookie.

To run tests for all days:

npm test

To run tests for a specific day:

npm test -- -g 04

OR

npm test test/04.spec.js

To run the solution for a particular day:

bin/aoc 4

OR

npm start 4

To debug:

DEBUG=aoc bin/aoc 4

About

Solutions for http://adventofcode.com/2017


Languages

Language:JavaScript 99.2%Language:TypeScript 0.8%