A comprehensive JavaScript utility library designed to help solve Advent of Code challenges. This library provides a rich set of tools and specialised data structures optimised for common Advent of Code puzzle patterns.
- Install as a dependency by performing:
npm install -D @assadk88/aoc-utils
- Import and use the utilities in your solutions as required. For example to retrieve the input for a given problem:
// This will return the input for the first problem of 2024
> const input = AOC.getInput(2024, 1)
// You can then parse this input so that it is usable in your solutions
> AOC.parseInput(input)
See the documentation for more information.
- Libraries
- Communities
- Misc.