17 lines
355 B
Plaintext
17 lines
355 B
Plaintext
---
|
|
to: 2022/<%= day %>/part1.js
|
|
---
|
|
import * as R from "remeda";
|
|
|
|
import { readFile } from "../05/part1.js";
|
|
|
|
const readInput = (...args) =>
|
|
readFile(...args)
|
|
.split("\n")
|
|
.filter((x) => x);
|
|
|
|
export const puzzleInput = readInput(import.meta.url, "input");
|
|
export const sample = readInput(import.meta.url, "sample");
|
|
|
|
export default = () => {};
|