@assadk/aoc-utils
v1.22.0
Published
An Advent of Code utility library
Downloads
1,574
Maintainers
Readme
aoc-utils
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.
Getting started
- 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)
Documentation
See the documentation for more information.
Links
- Libraries
- Communities
- Misc.