https://github.com/cornips/advent-of-code
These are my solutions to the Advent of Code puzzles. https://adventofcode.com
https://github.com/cornips/advent-of-code
Last synced: 5 months ago
JSON representation
These are my solutions to the Advent of Code puzzles. https://adventofcode.com
- Host: GitHub
- URL: https://github.com/cornips/advent-of-code
- Owner: cornips
- Created: 2023-12-07T00:40:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T00:43:38.000Z (over 2 years ago)
- Last Synced: 2024-12-30T09:32:59.504Z (over 1 year ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code solutions
This repository contains my solutions to the [Advent of Code](https://adventofcode.com/) challenges.
Each solution is written in Node. The solutions are organized by year and day.
## Getting started
```bash
pnpm install
pnpm start
```
## Creating a new exercise folder
To create a new exercise folder, run one of the following commands:
```bash
pnpm new # defaults to the current year and day
pnpm new # specific day, defaults to the current year
pnpm new --year # specific day and year
```
## Running a specific exercise
Instead of going through the menu, you can run a specific exercise directly.
```bash
pnpm start -t # runs the exercise for today
pnpm start --day # runs the exercise for a specific day in the current year
pnpm start --year --day # runs the exercise for a specific year and day
```
## Flags
- `-h, --help`: Displays help text
- `-v, --verbose`: Enables verbose logging
- `-w, --watch`: Enables watch mode