/aoc-starter-ts

Primary LanguageTypeScriptISC LicenseISC

Advent of Code 2019 starter for JS/TS

Intro

This repo contains zero-setup environment for Advent of Code challenges, with:

  • automatic creation of a challenge template,
  • automatic execution of a challenge code (with reloads),
  • quick utils for testing and reading input from a file.

Installation

Clone the repo and go to the created folder:

git clone https://github.com/caderek/aoc-starter-ts.git aoc2019
cd aoc2019

Using NPM:

npm i

Using Yarn:

yarn

Running dev mode

npm start day<N>

or

yarn start day<N>

Example:

yarn start day1

If the day folder does not exist, it will be created from template.

Join my leaderboard

You can join my private leaderboard fo JS/TS programmers:

Code:

107172-b51ab08f

Languages used:

  • TypeScript
  • JavaScript