Advent of Code 2020 Solutions with JS
Dependencies:
- NodeJS
- Yarn (or npm)
Install all the dependencies
$ yarnCreate 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 solveAllThe puzzle inputs are not going to be added, as it changes based on user.
Run and see solutions
$ yarn solveSee tests (wth Jest)
$ yarn testLint your code
$ yarn lintunder construction
The suggested lib for testing is Jest.