Advent of Code 2020 Solutions with JS
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.
Run and see solutions
$ yarn solve
See tests (wth Jest)
$ yarn test
Lint your code
$ yarn lint
under construction
The suggested lib for testing is Jest.