/aoc-2020

🎄Advent of Code 2020 Solutions

Primary LanguageJavaScript

🎄Advent of Code - 2020

Advent of Code 2020 Solutions with JS

Usage

Dependencies:

  • NodeJS
  • Yarn (or npm)

Install all the dependencies

$ yarn

Create your daily solutions based on the day 00 directory and add them to the main index.js:

import solve00 from './00'
import solve01 from './01' // <- here

const solveAll = async () => {
  await solve00()
  await solve01() // <- and here
}

export default solveAll

The puzzle inputs are not going to be added, as it changes based on user.

Running

Run and see solutions

$ yarn solve

See tests (wth Jest)

$ yarn test

Lint your code

$ yarn lint

Tests

under construction

The suggested lib for testing is Jest.