Scripts to init and run AOC problems in Deno.
aocrunner init
cd {directory}
deno task day 1
init
Create a new package for a given year of AoC. Will init a project setup in the provided directory and install any dependencies.
day <day>
Test & run solution for a given day, initializing the day from a template if it does not exist.
submit <day>
Submit a solution for the given day.
Add Package
deno add jsr:@njgingrich/aocrunner
Import symbol
import * as aocrunner from "@njgingrich/aocrunner";
---- OR ----
Import directly with a jsr specifier
import * as aocrunner from "jsr:@njgingrich/aocrunner";
Add Package
npx jsr add @njgingrich/aocrunner
Import symbol
import * as aocrunner from "@njgingrich/aocrunner";
Add Package
yarn dlx jsr add @njgingrich/aocrunner
Import symbol
import * as aocrunner from "@njgingrich/aocrunner";
Add Package
pnpm dlx jsr add @njgingrich/aocrunner
Import symbol
import * as aocrunner from "@njgingrich/aocrunner";
Add Package
bunx jsr add @njgingrich/aocrunner
Import symbol
import * as aocrunner from "@njgingrich/aocrunner";