@bryan-hoang/aoc-client
v2.0.0
Published
An Advent of Code client library
Readme
@bryan-hoang/aoc-client
A TS library for Advent of Code.
It was primarily developed to build the
@bryan-hoang/aoc-cli
command-line tool, but it can also be integrated into other projects.
Table of Contents
Install
Requires Node.js 20 or newer.
# ✨ Auto-detect
npx nypm install @bryan-hoang/aoc-client
# npm
npm install @bryan-hoang/aoc-client
# yarn
yarn add @bryan-hoang/aoc-client
# pnpm
pnpm add @bryan-hoang/aoc-client
# bun
bun install @bryan-hoang/aoc-client
# deno
deno install npm:@bryan-hoang/aoc-clientUsage
Importing:
ESM (Node.js, Bun, Deno)
import { AocClientBuilder, AocClient } from "@bryan-hoang/aoc-client";CommonJS (Legacy Node.js)
const { AocClientBuilder, AocClient } = require("@bryan-hoang/aoc-client");CDN (Deno and Browsers)
import { AocClientBuilder, AocClient } from "https://esm.sh/@bryan-hoang/aoc-client";Maintainers
Contributing
PRs accepted.
Small note: if editing the README, please conform to the standard-readme specification.
License
MIT © 2024 Bryan Hoang
🤖 auto updated with automd
