Skip to content

PakkuDon/advent-of-code

Repository files navigation

Advent of Code

Solutions for Advent of Code

Past solutions by year

Development instructions

JavaScript

  • Install dependencies
npm ci
  • Add boilerplate for new exercise
cp -r template-js <path to folder>
# Example
# cp -r template-js 2022/05
  • Run tests
# Run all tests
npm test
# Run tests in a subfolder
npm test 2022/
  • Run solution against puzzle input
node <path to index.js file>
# Eg
node 2021/02-dive/index.js
  • Format code
npm run format

About

🎄 Solutions for Advent of Code

Resources

Stars

Watchers

Forks