{"id":16783187,"url":"https://github.com/aod/aoc-runner.js","last_synced_at":"2025-10-14T17:17:53.353Z","repository":{"id":144279309,"uuid":"180575359","full_name":"aod/aoc-runner.js","owner":"aod","description":"A tool for running Advent of Code solutions written JavaScript/NodeJS","archived":false,"fork":false,"pushed_at":"2021-11-24T23:45:21.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T17:17:51.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-10T12:19:32.000Z","updated_at":"2021-11-24T23:45:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3775186-1366-45ba-ac08-410545688368","html_url":"https://github.com/aod/aoc-runner.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aod/aoc-runner.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aod%2Faoc-runner.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aod%2Faoc-runner.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aod%2Faoc-runner.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aod%2Faoc-runner.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aod","download_url":"https://codeload.github.com/aod/aoc-runner.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aod%2Faoc-runner.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020077,"owners_count":26086806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T07:49:09.206Z","updated_at":"2025-10-14T17:17:53.337Z","avatar_url":"https://github.com/aod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aoc-runner.js\n\nInstall:\n\n```\nnpm i aod/aoc-runner.js\n```\n\n# Usage\n\n```\nSYNTAX:\nnpx aoc-runner [-v] {[:][,...year].[,...day].[,...part]} [repeat]\n\nUSAGE:\n  -v             : enables verboseness i.e. displays warning messages.\n  args[0]        : the solution to run.\n                   e.g. \".1,2,3,7.1\" will run day 1, 2, 3 \u0026 7 part 1 for\n                   all the years.\n                   To select a range of values use \"-\".\n                   e.g. \".1-3,7-22.1\"\n                   To exclude solutions use the optional \":\" notation after\n                   the first date.\n                   e.g. .1-3,7.1:2017.2-5 will exclude day 2 through 5\n                   for year 2017.\n  args[1] repeat : repeats every solution matched N times.\n```\n\n# Quick start\n\nCreate `aoc-runner.config.js` in the root of your project.\n\n\n## Usage\n\n```ts\n// file: /aoc-runner.config.js\n\nmodule.exports = {\n  // AoC solution file resolver (per part):\n  path: string | {\n    year: string | (year: number) =\u003e string\n    day: string | (day: number) =\u003e string\n    part: string | (part: number) =\u003e string\n  },\n  // The input path relative to the resolved solution path:\n  input: string\n}\n```\n\nExample:\n\n```js\n// file: /aoc-runner.config.js\n\nmodule.exports = {\n    // Using a string:\n    path: '$/day$/part$.js',\n\n    // Using a custom resolver object:\n    path: {\n        day: ({ day }) =\u003e `day${('' + day).padStart(2, '0')}`,\n        part: 'part$.js'\n    },\n\n    input: './input.txt'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faod%2Faoc-runner.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faod%2Faoc-runner.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faod%2Faoc-runner.js/lists"}