Skip to main content
This release is 3 versions behind 0.1.13 — the latest version of @njgingrich/aocrunner. Jump to latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
76%
Published
2 days ago (0.1.10)

Runner

Scripts to init and run AOC problems in Deno.

Use

  • aocrunner init
  • cd {directory}
  • deno task day 1

Commands

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.

Future

  • Custom templates

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";