An Advent of Code utility library
npm install @assadk/aoc-utilsaoc-utilsA 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.
1. Install as a dependency by performing:
``SHELL`
npm install -D @assadk88/aoc-utils
2. Import and use the utilities in your solutions as required. For example to retrieve the input for a given problem:
`JAVASCRIPT`
// 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)
- Algorithms
- Data Structures
- Prototype Extensions
- Aliases
See the documentation for more information.
- Libraries
- nim-ka/aocutil
- Jo Wood/ AOC Utilities
- lodash
- ES Module Source
- lodash-modularized
- lodash/ FP Guide
- ramda
- underscore
- remeda
- fkit
- fp-ts
- trekhleb/javascript-algorithms
- Communities
- /r/AdventOfCode
- /r/AdventOfCode/ 450 Stars: A Categorization and Mega-Guide
- /r/CodeGolf
- /r/tinycode
- Code Golf Stack Exchange
- Misc.
- /r/AdventOfCode/ 450 Stars: A Categorization and Mega-Guide
- mkazemiraz/one-line-javascript-utility-codes
- Bogdanp/awesome-advent-of-code`