https://github.com/fabiankaegy/advent-of-code-2022
https://github.com/fabiankaegy/advent-of-code-2022
advent-of-code advent-of-code-2022
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabiankaegy/advent-of-code-2022
- Owner: fabiankaegy
- Created: 2022-11-30T10:03:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T07:22:19.000Z (over 2 years ago)
- Last Synced: 2025-01-10T02:36:32.632Z (6 months ago)
- Topics: advent-of-code, advent-of-code-2022
- Language: JavaScript
- Homepage: https://adventofcode.com/2022
- Size: 128 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Advent of Code 2022
Very sloppy implementations of the 2021 Advent of Code challenges written in vanilla JavaScript. To run the scripts I use [Quokka JS](https://quokkajs.com) to evaluate the code inline in VSCode.
## Using Inputs
There is a helper in the repo that automatically parses the daily input into an array of strings representing the individual lines.
```js
const getInputValues = require('./helper/get-input-values');// replace 'x' with the name of the .txt file located in the `input` folder
const input = await getInputValues( 'x' );
```