Skip to main content
Module

x/aocd/mod.ts>configureAocd

A CLI tool and library for Advent of Code solutions
Latest
function configureAocd
Re-export
import { configureAocd } from "https://deno.land/x/aocd@v1.5.1/mod.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>