{"_id":"@bryan-hoang/aoc-client","_rev":"5-08a7189cb244923d2bbbd2a2462a02c7","name":"@bryan-hoang/aoc-client","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.0-development":{"name":"@bryan-hoang/aoc-client","version":"0.0.0-development","author":{"url":"https://bryanhoang.dev/","name":"Bryan Hoang","email":"bryan@bryanhoang.dev"},"license":"MIT","_id":"@bryan-hoang/aoc-client@0.0.0-development","maintainers":[{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"}],"dist":{"shasum":"a2bf05d5463a6ffa41700bb28965459d5c26a8f0","tarball":"https://registry.npmjs.org/@bryan-hoang/aoc-client/-/aoc-client-0.0.0-development.tgz","fileCount":7,"integrity":"sha512-iWUC3aQxp3UKzbE00Hglpxcf86Hgc4WMnFDIzvV1Cn7whARtKSYMm5DSSQTnUsPejY6mphS/BVN9d+wyLrADDQ==","signatures":[{"sig":"MEUCIGI/ku0/S+Ws4gKpvNFTmbIc3oCO2LqCf9BV+L3Gk6DGAiEAzqgomauQ8FMgkc++iljoz5bPJmWvxp/NmOFwyGV2Y1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4835},"main":"./dist/index.cjs","type":"module","_from":"file:bryan-hoang-aoc-client-0.0.0-development.tgz","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"attw --pack .","build":"unbuild","build:stub":"unbuild --stub"},"_npmUser":{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"},"_resolved":"/tmp/ebf40a6f345fecb691135aec622216c9/bryan-hoang-aoc-client-0.0.0-development.tgz","_integrity":"sha512-iWUC3aQxp3UKzbE00Hglpxcf86Hgc4WMnFDIzvV1Cn7whARtKSYMm5DSSQTnUsPejY6mphS/BVN9d+wyLrADDQ==","_npmVersion":"10.9.0","description":"An Advent of Code client library","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"4.28.1","unbuild":"2.0.0","@arethetypeswrong/cli":"0.17.0","unplugin-purge-polyfills":"0.0.7"},"_npmOperationalInternal":{"tmp":"tmp/aoc-client_0.0.0-development_1733770507406_0.43201136291001907","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@bryan-hoang/aoc-client","version":"0.2.0","author":{"url":"https://bryanhoang.dev/","name":"Bryan Hoang","email":"bryan@bryanhoang.dev"},"license":"MIT","_id":"@bryan-hoang/aoc-client@0.2.0","maintainers":[{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"}],"dist":{"shasum":"9d900668ca3c46c3f68f059be839357e4dae4554","tarball":"https://registry.npmjs.org/@bryan-hoang/aoc-client/-/aoc-client-0.2.0.tgz","fileCount":9,"integrity":"sha512-ZKZN4qUA/m/jewKmZw4+XipK7xHMz5rKKGLPdVFUTBfKY7Cel6UPDki5noDiUl+eZVZ0Uua0Y4rpXdar2UTCgg==","signatures":[{"sig":"MEQCIGWIizgz4T2zzTzDahxnN8K6bxcxaYO3jaIqz5d7E9j6AiBpq4DzXQcgqYLDVPaVANcFlb3l18exhgC1QxMkkSMSvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56659},"main":"./dist/index.cjs","type":"module","_from":"file:bryan-hoang-aoc-client-0.2.0.tgz","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vitest","build":"unbuild","test:attw":"attw --pack .","build:stub":"unbuild --stub"},"_npmUser":{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"},"_resolved":"/tmp/0bdc2225d3ddb06d32ff302287f3d2a0/bryan-hoang-aoc-client-0.2.0.tgz","_integrity":"sha512-ZKZN4qUA/m/jewKmZw4+XipK7xHMz5rKKGLPdVFUTBfKY7Cel6UPDki5noDiUl+eZVZ0Uua0Y4rpXdar2UTCgg==","_npmVersion":"10.9.0","description":"An Advent of Code client library","directories":{},"_nodeVersion":"22.12.0","dependencies":{"defu":"6.1.4","debug":"4.4.0","pathe":"1.1.2","ofetch":"1.4.1","consola":"3.2.3","turndown":"7.2.0","cookie-es":"1.2.2","env-paths":"3.0.0","temporal-polyfill":"0.2.5","type-level-regexp":"0.1.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"2.1.8","unbuild":"3.0.0-rc.11","@types/debug":"4.1.12","@types/turndown":"5.0.5","@arethetypeswrong/cli":"0.17.1","unplugin-purge-polyfills":"0.0.7","@total-typescript/tsconfig":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/aoc-client_0.2.0_1734015375341_0.6575996018915673","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@bryan-hoang/aoc-client","version":"0.2.1","author":{"url":"https://bryanhoang.dev/","name":"Bryan Hoang","email":"bryan@bryanhoang.dev"},"license":"MIT","_id":"@bryan-hoang/aoc-client@0.2.1","maintainers":[{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"}],"dist":{"shasum":"c1bd47633ce5d9bcd7716a1e2f84072c549fe374","tarball":"https://registry.npmjs.org/@bryan-hoang/aoc-client/-/aoc-client-0.2.1.tgz","fileCount":9,"integrity":"sha512-g+5l3dBAN2uuH44U7M0e1ZMwMGxS2+w3vP9XoHM/SgMCg70zfXiCBJciwTzYuaFhzwqB/YPnV02RRNSx0dMqBw==","signatures":[{"sig":"MEQCIFniTSZ/uF1uKb3+ccV/q9uafD10PUyyRiuhZve1rbUbAiAxDr5pMuw3LdIlzCM5Ep4xgdCeWFCzFG91jf9p2ZXzIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56779},"main":"./dist/index.cjs","type":"module","_from":"file:bryan-hoang-aoc-client-0.2.1.tgz","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vitest","build":"unbuild","test:attw":"attw --pack .","build:stub":"unbuild --stub"},"_npmUser":{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"},"_resolved":"/tmp/73f2b418808d3cb2d511fec067380ad7/bryan-hoang-aoc-client-0.2.1.tgz","_integrity":"sha512-g+5l3dBAN2uuH44U7M0e1ZMwMGxS2+w3vP9XoHM/SgMCg70zfXiCBJciwTzYuaFhzwqB/YPnV02RRNSx0dMqBw==","_npmVersion":"10.9.0","description":"An Advent of Code client library","directories":{},"_nodeVersion":"22.12.0","dependencies":{"defu":"6.1.4","debug":"4.4.0","pathe":"1.1.2","ofetch":"1.4.1","consola":"3.2.3","turndown":"7.2.0","cookie-es":"1.2.2","env-paths":"3.0.0","temporal-polyfill":"0.2.5","type-level-regexp":"0.1.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"2.1.8","unbuild":"3.0.0-rc.11","@types/debug":"4.1.12","@types/turndown":"5.0.5","@arethetypeswrong/cli":"0.17.1","unplugin-purge-polyfills":"0.0.7","@total-typescript/tsconfig":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/aoc-client_0.2.1_1734037646234_0.5217365511699292","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bryan-hoang/aoc-client","version":"1.0.0","keywords":[],"author":{"url":"https://bryanhoang.dev/","name":"Bryan Hoang","email":"bryan@bryanhoang.dev"},"license":"MIT","_id":"@bryan-hoang/aoc-client@1.0.0","maintainers":[{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"}],"homepage":"https://github.com/bryan-hoang/aoc-cli-node#readme","bugs":{"url":"https://github.com/bryan-hoang/aoc-cli-node/issues"},"dist":{"shasum":"53b11b0d222f631c2a455690c47b40b3e959c2b2","tarball":"https://registry.npmjs.org/@bryan-hoang/aoc-client/-/aoc-client-1.0.0.tgz","fileCount":10,"integrity":"sha512-Xth/AzHNvdbfjtM5c9XyVfwwvSROALuHNG/tv5NirrwV1c8pmi9kZCqJJhFjQANFqmWbb7K1NfSiptYHnaB4YQ==","signatures":[{"sig":"MEUCIQDb0hOuhTrwIDY/ipqlhCUHJOVWqr7zQFR3SRVyr8XaBAIgdLbrZc2LqnjH+hIuhNhcvV1lzR3cC8rLySqb9X6wvWo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68634},"main":"./dist/index.cjs","type":"module","_from":"file:bryan-hoang-aoc-client-1.0.0.tgz","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vitest","build":"unbuild","test:attw":"attw --pack .","build:docs":"automd && tsdoc --src=src/lib.ts","build:stub":"unbuild --stub"},"_npmUser":{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"},"_resolved":"/tmp/3e41cb77da449b1557920834bfec73de/bryan-hoang-aoc-client-1.0.0.tgz","_integrity":"sha512-Xth/AzHNvdbfjtM5c9XyVfwwvSROALuHNG/tv5NirrwV1c8pmi9kZCqJJhFjQANFqmWbb7K1NfSiptYHnaB4YQ==","repository":{"url":"git+ssh://git@github.com/bryan-hoang/aoc-cli-node.git","type":"git"},"_npmVersion":"10.9.0","description":"An Advent of Code client library","directories":{},"_nodeVersion":"22.12.0","dependencies":{"defu":"^6.1.4","debug":"^4.4.0","pathe":"^1.1.2","ofetch":"^1.4.1","consola":"^3.2.3","turndown":"^7.2.0","cookie-es":"^1.2.2","env-paths":"^3.0.0","temporal-polyfill":"^0.2.5","type-level-regexp":"^0.1.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.8","unbuild":"^3.0.1","@types/debug":"^4.1.12","@types/turndown":"^5.0.5","@arethetypeswrong/cli":"^0.17.1","unplugin-purge-polyfills":"^0.0.7"},"_npmOperationalInternal":{"tmp":"tmp/aoc-client_1.0.0_1734378354540_0.16759400610263198","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bryan-hoang/aoc-client","version":"2.0.0","description":"An Advent of Code client library","keywords":[],"homepage":"https://github.com/bryan-hoang/aoc-cli-node#readme","bugs":{"url":"https://github.com/bryan-hoang/aoc-cli-node/issues"},"license":"MIT","author":"Bryan Hoang <bryan@bryanhoang.dev> (https://bryanhoang.dev/)","repository":{"type":"git","url":"git+ssh://git@github.com/bryan-hoang/aoc-cli-node.git"},"type":"module","main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"publishConfig":{"access":"public"},"dependencies":{"consola":"^3.4.2","cookie-es":"^3.1.1","debug":"^4.4.3","defu":"^6.1.4","env-paths":"^4.0.0","ofetch":"^1.5.1","pathe":"^2.0.3","temporal-polyfill":"^1.0.0","turndown":"^7.2.2","type-level-regexp":"^0.1.17"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@types/debug":"^4.1.13","@types/turndown":"^5.0.6","vite-plus":"latest"},"engines":{"node":">=20"},"scripts":{"build":"vp pack --format cjs,esm --sourcemap","build:docs":"automd && vp fmt README.md","build:stub":"vp pack --watch","test":"vp test","test:attw":"attw --pack ."},"_nodeVersion":"26.0.0","_id":"@bryan-hoang/aoc-client@2.0.0","dist":{"integrity":"sha512-QJPSiGhWsthbp4bPf9ykSZg/5jDsQ4Zf4KssgmmXqJFnscrFtqYLOHT/6QGX36pnUpzpah5a9UffPcN6bWwRUw==","shasum":"7bad488c2f50131cda2103cfcce0b569a96471aa","tarball":"https://registry.npmjs.org/@bryan-hoang/aoc-client/-/aoc-client-2.0.0.tgz","fileCount":9,"unpackedSize":52580,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bryan-hoang%2faoc-client@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDx+ftDjmILMXdyRKiMpZ5knhi6oCjnZqvkdB4uKRo8qgIgRKPArFDCi/rUMf699S2zLUhj/JiKnCbdrMPxtuPQgRY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:727378ff-4870-4f3e-9377-5ae658678345"}},"directories":{},"maintainers":[{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aoc-client_2.0.0_1788486126576_0.6833862531242807"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-09T18:55:07.324Z","modified":"2026-09-04T01:42:07.107Z","0.0.0-development":"2024-12-09T18:55:07.581Z","0.2.0":"2024-12-12T14:56:15.555Z","0.2.1":"2024-12-12T21:07:26.469Z","1.0.0":"2024-12-16T19:45:54.802Z","2.0.0":"2026-09-04T01:42:06.705Z"},"bugs":{"url":"https://github.com/bryan-hoang/aoc-cli-node/issues"},"author":"Bryan Hoang <bryan@bryanhoang.dev> (https://bryanhoang.dev/)","license":"MIT","homepage":"https://github.com/bryan-hoang/aoc-cli-node#readme","keywords":[],"repository":{"type":"git","url":"git+ssh://git@github.com/bryan-hoang/aoc-cli-node.git"},"description":"An Advent of Code client library","maintainers":[{"name":"bryan-hoang","email":"bryan@bryanhoang.dev"}],"readme":"# @bryan-hoang/aoc-client\n\n<!-- automd:badges github=\"bryan-hoang/aoc-cli-node\" license bundlephobia -->\n\n[![npm version](https://img.shields.io/npm/v/@bryan-hoang/aoc-client)](https://npmjs.com/package/@bryan-hoang/aoc-client)\n[![npm downloads](https://img.shields.io/npm/dm/@bryan-hoang/aoc-client)](https://npm.chart.dev/@bryan-hoang/aoc-client)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/@bryan-hoang/aoc-client)](https://bundlephobia.com/package/@bryan-hoang/aoc-client)\n[![license](https://img.shields.io/github/license/bryan-hoang/aoc-cli-node)](https://github.com/bryan-hoang/aoc-cli-node/blob/main/LICENSE)\n\n<!-- /automd -->\n\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\nA TS library for Advent of Code.\n\nIt was primarily developed to build the\n[`@bryan-hoang/aoc-cli`](https://www.npmjs.com/package/@bryan-hoang/aoc-cli)\ncommand-line tool, but it can also be integrated into other projects.\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Maintainers](#maintainers)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Install\n\nRequires Node.js 20 or newer.\n\n<!-- automd:pm-install name=\"@bryan-hoang/aoc-client\" -->\n\n```sh\n# ✨ Auto-detect\nnpx nypm install @bryan-hoang/aoc-client\n\n# npm\nnpm install @bryan-hoang/aoc-client\n\n# yarn\nyarn add @bryan-hoang/aoc-client\n\n# pnpm\npnpm add @bryan-hoang/aoc-client\n\n# bun\nbun install @bryan-hoang/aoc-client\n\n# deno\ndeno install npm:@bryan-hoang/aoc-client\n```\n\n<!-- /automd -->\n\n## Usage\n\nImporting:\n\n<!-- automd:jsimport cjs cdn name=\"@bryan-hoang/aoc-client\" src=\"./src/lib.ts\" -->\n\n**ESM** (Node.js, Bun, Deno)\n\n```js\nimport { AocClientBuilder, AocClient } from \"@bryan-hoang/aoc-client\";\n```\n\n**CommonJS** (Legacy Node.js)\n\n```js\nconst { AocClientBuilder, AocClient } = require(\"@bryan-hoang/aoc-client\");\n```\n\n**CDN** (Deno and Browsers)\n\n```js\nimport { AocClientBuilder, AocClient } from \"https://esm.sh/@bryan-hoang/aoc-client\";\n```\n\n<!-- /automd -->\n\n## Maintainers\n\n[@bryan-hoang](https://github.com/bryan-hoang)\n\n## Contributing\n\nPRs accepted.\n\nSmall note: if editing the README, please conform to the\n[standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\nMIT © 2024 Bryan Hoang\n\n<!-- automd:with-automd -->\n\n---\n\n_🤖 auto updated with [automd](https://automd.unjs.io)_\n\n<!-- /automd -->\n","readmeFilename":""}