@assadk/aoc-utils

1.22.0 • Public • Published

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

  1. Install as a dependency by performing:
npm install -D @assadk88/aoc-utils
  1. 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

Package Sidebar

Install

npm i @assadk/aoc-utils

Weekly Downloads

413

Version

1.22.0

License

MIT

Unpacked Size

10.6 kB

Total Files

3

Last publish

Collaborators

  • assadk