Skip to content

xupit3r/2025adventofcode

Repository files navigation

Advent of Code 2025 — Solutions (JavaScript)

This repository contains my solutions for Advent of Code 2025 implemented as ES modules.

Project: Solutions for days 1–12 (one file per day).

Requirements:

  • Node.js 22+ (or any Node that supports ES modules and top-level await)

Run a single day

Place the puzzle input in the inputs/ directory (for example inputs/day1.txt). Run a solution with:

./day1.mjs

Replace day1.mjs with the day you want to run.

Run all days (simple loop)

for d in {1..9}; do "./day${d}.mjs"; done

File structure

Add a new day

  1. Add day10.mjs implementing the solution (see previous days for basic setup)
  2. Add the corresponding input file at inputs/day10.txt.
  3. Run with chmod +x day10.mjs.
  4. Run with ./day10.mjs or node day10.mjs.

License

No license specified. Use at your own discretion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors