Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aocd/configureAocd.ts>configureAocd

A CLI tool and library for Advent of Code solutions
Latest
function configureAocd
import { configureAocd } from "https://deno.land/x/aocd@v1.5.3/configureAocd.ts";

Use this if you want to manually configure Aocd options programmatically or if you want to configure where Aocd gets its data from. Throws an error if the Aocd singleton has already been configured.

This function can be used to configure Aocd even if a different version of Aocd is used later. This may be useful for writing a library that preconfigures aspects of Aocd for use by scripts that may be using different versions of Aocd.

Parameters

config: Partial<Config>