{"id":39103253,"url":"https://github.com/sanurb/advent-js","last_synced_at":"2026-01-17T19:17:00.228Z","repository":{"id":115333870,"uuid":"581633395","full_name":"sanurb/advent-js","owner":"sanurb","description":"🎅 Solutions to the challenges proposed by @midudev on https://adventjs.dev","archived":false,"fork":false,"pushed_at":"2025-01-11T20:28:48.000Z","size":1196,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T12:39:53.088Z","etag":null,"topics":["advent-js","advent-of-code","challenge","christmas","javascript","midudev","newbie","solutions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanurb.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-12-23T19:30:16.000Z","updated_at":"2022-12-29T21:15:54.000Z","dependencies_parsed_at":"2023-12-29T06:30:52.349Z","dependency_job_id":"38a6f033-e401-4c7b-8640-2a1772b10bb2","html_url":"https://github.com/sanurb/advent-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanurb/advent-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanurb%2Fadvent-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanurb%2Fadvent-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanurb%2Fadvent-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanurb%2Fadvent-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanurb","download_url":"https://codeload.github.com/sanurb/advent-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanurb%2Fadvent-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["advent-js","advent-of-code","challenge","christmas","javascript","midudev","newbie","solutions"],"created_at":"2026-01-17T19:16:59.568Z","updated_at":"2026-01-17T19:17:00.209Z","avatar_url":"https://github.com/sanurb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎅🌟 adventJS solutions - Sanurb\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=https://i.imgur.com/mOUN7uE.png/\u003e\n\u003c/div\u003e\n\n\u003ch3 align=\"center\"\u003e🧑‍🚀 24 days /\n24 coding challenges • \u003ca href=\"https://adventjs.dev\"\u003eadventJS\u003c/a\u003e 🚀\u003c/h3\u003e\n\nThis repository contains the solutions to the challenges proposed by [@midudev](https://midu.dev/) on the [adventJS](https://adventjs.dev/) website.\n\n## 🤖 2022\n\n\u003cdetails open\u003e\n\n\u003csummary\u003eShow / Hide\u003c/summary\u003e\n\n### 🎮️ Challenges\n\n|  #  |                           Challenge                           | Difficulty[^1] |               Solution                |\n| :-: | :-----------------------------------------------------------: | :------------: | :-----------------------------------: |\n| 01  |   [Automating Christmas gift wrapping!](2022/challenge-01)    |       🟢       | [Show](2022/challenge-01/solution.js) |\n| 02  |  [Nobody wants to do extra hours at work](2022/challenge-02)  |       🟢       | [Show](2022/challenge-02/solution.js) |\n| 03  | [How many packs of gifts can Santa carry?](2022/challenge-03) |       🟢       | [Show](2022/challenge-03/solution.js) |\n| 04  |     [Box inside a box and another...](2022/challenge-04)      |       🟠       | [Show](2022/challenge-04/solution.js) |\n| 05  |         [Optimizing Santa's trips](2022/challenge-05)         |       🔴       | [Show](2022/challenge-05/solution.js) |\n| 06  |        [Creating xmas decorations](2022/challenge-06)         |       🟠       | [Show](2022/challenge-06/solution.js) |\n| 07  |          [Doing gifts inventory](2022/challenge-07)           |       🟢       | [Show](2022/challenge-07/solution.js) |\n| 08  |           [We need a mechanic!](2022/challenge-08)            |       🟠       | [Show](2022/challenge-08/solution.js) |\n| 09  |            [Crazy Xmas lights](2022/challenge-09)             |       🟢       | [Show](2022/challenge-09/solution.js) |\n| 10  |       [The Santa Claus sleigh jump](2022/challenge-10)        |       🟠       | [Show](2022/challenge-10/solution.js) |\n| 11  |       [Santa Claus is Scrum Master](2022/challenge-11)        |       🔴       | [Show](2022/challenge-11/solution.js) |\n| 12  |          [Electric sleighs, wow!](2022/challenge-12)          |       🟠       | [Show](2022/challenge-12/solution.js) |\n| 13  |      [Backups for Santa Claus files](2022/challenge-13)       |       🟢       | [Show](2022/challenge-13/solution.js) |\n| 14  |              [The best path](2022/challenge-14)               |       🟢       | [Show](2022/challenge-14/solution.js) |\n| 15  |      [Decorating the Christmas tree](2022/challenge-15)       |       🟠       | [Show](2025/challenge-15/solution.js) |\n| 16  |       [Fixing Santa Claus' letters](2022/challenge-16)        |       🔴       | [Show](2022/challenge-16/solution.js) |\n| 17  |          [Carrying gifts in bags](2022/challenge-17)          |       🟠       | [Show](2022/challenge-17/solution.js) |\n| 18  |            [We ran out of ink!](2022/challenge-18)            |       🟢       | [Show](2022/challenge-18/solution.js) |\n| 19  |            [Sorting the toys!](2022/challenge-19)             |       🟢       | [Show](2022/challenge-19/solution.js) |\n| 20  |          [More challenging trips](2022/challenge-20)          |       🔴       | [Show](2022/challenge-20/solution.js) |\n| 21  |         [Creating the gifts table](2022/challenge-21)         |       🟠       | [Show](2022/challenge-21/solution.js) |\n| 22  |            [The lights in sync](2022/challenge-22)            |       🟢       | [Show](2022/challenge-22/solution.js) |\n\n[^1]: **Difficulty**: 🟢 Easy 🟠 Medium 🔴 Hard 🟣 Very Hard\n\n\u003c/details\u003e\n\n## 🚀 Quick start\n\n- Install\n\n  ```bash\n  make install\n  # or\n  npm install\n  ```\n\n- Run all challenges\n\n  ```bash\n  make run\n  # or\n  npm test\n  ```\n\n- Run specific challenge\n\n  ```bash\n  make run YEAR=YYYY CHALLENGE=XX # where YYYY is the year and XX is the challenge number\n  # or\n  npm test YYYY/challenge-XX # where YYYY is the year and XX is the challenge number\n  ```\n\n## 🚩 License\n\nMIT @ Inspired by the repository of [borjapazr](https://github.com/borjapazr/awesome-adventjs). Please see [License](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanurb%2Fadvent-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanurb%2Fadvent-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanurb%2Fadvent-js/lists"}