{"id":13544016,"url":"https://github.com/aanton/adventjs","last_synced_at":"2025-04-02T13:31:29.478Z","repository":{"id":79418665,"uuid":"435143490","full_name":"aanton/adventjs","owner":"aanton","description":"My adventJS solutions (2021 edition)","archived":false,"fork":false,"pushed_at":"2023-12-05T22:35:57.000Z","size":112,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-03T10:33:33.106Z","etag":null,"topics":["adventjs","adventjs-2021"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aanton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-05T11:09:24.000Z","updated_at":"2023-01-14T09:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"88da2cd9-030a-413d-8839-d5ab58e5670a","html_url":"https://github.com/aanton/adventjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aanton%2Fadventjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aanton%2Fadventjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aanton%2Fadventjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aanton%2Fadventjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aanton","download_url":"https://codeload.github.com/aanton/adventjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246823751,"owners_count":20839774,"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","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":["adventjs","adventjs-2021"],"created_at":"2024-08-01T11:00:40.681Z","updated_at":"2025-04-02T13:31:24.469Z","avatar_url":"https://github.com/aanton.png","language":"JavaScript","funding_links":[],"categories":["🦠 2021"],"sub_categories":["🧑‍💻 Solutions"],"readme":"# 🎅 My adventJS solutions (2021 edition) 🎄\n\nMy solutions to [25 days of JavaScript challenges](https://2021.adventjs.dev/) (2021 edition) by [@midudev](https://twitter.com/midudev).\n\n## 💅 Project setup\n\n- [Prettier](https://prettier.io/) for code formatting\n- [ESLint](https://eslint.org/) for code linting\n- [Jest](https://jestjs.io/) for testing\n- vscode settings to run code formatting \u0026 linting on save\n- Pre-commit hook to ckeck code formatting \u0026 linting using [husky](https://typicode.github.io/husky/) \u0026 [lint-staged](https://github.com/okonet/lint-staged)\n\n## 💻️ Installation \u0026 usage\n\n- Clone this project\n- Install dependecies\n- Run all tests or run only the day X tests\n\n```bash\nnpm install\n\n# Run all tests\nnpm run test\n\n# Run day 4 tests (identified by 04 or day04)\nnpm run test 04\nnpm run test day04\n```\n\n## 🕹️ Challenges\n\n| Day | Name                                                              | Rules                                            | Tests                              | Code                         |\n| --- | ----------------------------------------------------------------- | ------------------------------------------------ | ---------------------------------- | ---------------------------- |\n| 1   | Contando ovejas para dormir                                       | [rules](https://2021.adventjs.dev/challenges/01) | [tests](./src/day01/index.test.js) | [code](./src/day01/index.js) |\n| 2   | ¡Ayuda al elfo a listar los regalos!                              | [rules](https://2021.adventjs.dev/challenges/02) | [tests](./src/day02/index.test.js) | [code](./src/day02/index.js) |\n| 3   | El Grinch quiere fastidiar la Navidad                             | [rules](https://2021.adventjs.dev/challenges/03) | [tests](./src/day03/index.test.js) | [code](./src/day03/index.js) |\n| 4   | ¡Es hora de poner la navidad en casa!                             | [rules](https://2021.adventjs.dev/challenges/04) | [tests](./src/day04/index.test.js) | [code](./src/day04/index.js) |\n| 5   | Contando los días para los regalos                                | [rules](https://2021.adventjs.dev/challenges/05) | [tests](./src/day05/index.test.js) | [code](./src/day05/index.js) |\n| 6   | Rematando los exámenes finales                                    | [rules](https://2021.adventjs.dev/challenges/06) | [tests](./src/day06/index.test.js) | [code](./src/day06/index.js) |\n| 7   | Buscando en el almacén...                                         | [rules](https://2021.adventjs.dev/challenges/07) | [tests](./src/day07/index.test.js) | [code](./src/day07/index.js) |\n| 8   | La locura de las criptomonedas                                    | [rules](https://2021.adventjs.dev/challenges/08) | [tests](./src/day08/index.test.js) | [code](./src/day08/index.js) |\n| 9   | Agrupando cosas automáticamente                                   | [rules](https://2021.adventjs.dev/challenges/09) | [tests](./src/day09/index.test.js) | [code](./src/day09/index.js) |\n| 10  | La máquina de cambio                                              | [rules](https://2021.adventjs.dev/challenges/10) | [tests](./src/day10/index.test.js) | [code](./src/day10/index.js) |\n| 11  | ¿Vale la pena la tarjeta fidelidad del cine?                      | [rules](https://2021.adventjs.dev/challenges/11) | [tests](./src/day11/index.test.js) | [code](./src/day11/index.js) |\n| 12  | La ruta perfecta para dejar los regalos                           | [rules](https://2021.adventjs.dev/challenges/12) | [tests](./src/day12/index.test.js) | [code](./src/day12/index.js) |\n| 13  | Envuelve regalos con asteriscos                                   | [rules](https://2021.adventjs.dev/challenges/13) | [tests](./src/day13/index.test.js) | [code](./src/day13/index.js) |\n| 14  | En busca del reno perdido                                         | [rules](https://2021.adventjs.dev/challenges/14) | [tests](./src/day14/index.test.js) | [code](./src/day14/index.js) |\n| 15  | El salto perfecto                                                 | [rules](https://2021.adventjs.dev/challenges/15) | [tests](./src/day15/index.test.js) | [code](./src/day15/index.js) |\n| 16  | Descifrando los números...                                        | [rules](https://2021.adventjs.dev/challenges/16) | [tests](./src/day16/index.test.js) | [code](./src/day16/index.js) |\n| 17  | La locura de enviar paquetes en esta época                        | [rules](https://2021.adventjs.dev/challenges/17) | [tests](./src/day17/index.test.js) | [code](./src/day17/index.js) |\n| 18  | El sistema operativo de Santa Claus                               | [rules](https://2021.adventjs.dev/challenges/18) | [tests](./src/day18/index.test.js) | [code](./src/day18/index.js) |\n| 19  | ¿Qué deberíamos aprender en Platzi?                               | [rules](https://2021.adventjs.dev/challenges/19) | [tests](./src/day19/index.test.js) | [code](./src/day19/index.js) |\n| 20  | ¿Una carta de pangramas? ¡QUÉ!                                    | [rules](https://2021.adventjs.dev/challenges/20) | [tests](./src/day20/index.test.js) | [code](./src/day20/index.js) |\n| 21  | La ruta con los regalos                                           | [rules](https://2021.adventjs.dev/challenges/21) | [tests](./src/day21/index.test.js) | [code](./src/day21/index.js) |\n| 22  | ¿Cuantos adornos necesita el árbol?                               | [rules](https://2021.adventjs.dev/challenges/22) | [tests](./src/day22/index.test.js) | [code](./src/day22/index.js) |\n| 23  | ¿Puedes reconfigurar las fábricas para no parar de crear regalos? | [rules](https://2021.adventjs.dev/challenges/23) | [tests](./src/day23/index.test.js) | [code](./src/day23/index.js) |\n| 24  | Comparando árboles de Navidad                                     | [rules](https://2021.adventjs.dev/challenges/24) | [tests](./src/day24/index.test.js) | [code](./src/day24/index.js) |\n| 25  | El último juego y hasta el año que viene 👋                       | [rules](https://2021.adventjs.dev/challenges/25) | [tests](./src/day25/index.test.js) | [code](./src/day25/index.js) |\n\n## 💖 Acknowledgements\n\n- [@midudev](https://twitter.com/midudev) for sharing his knowledge with the DEV community in [YouTube](https://midu.tube/), [Twitch](https://midu.live/), [blog](https://midu.dev/), ... \u0026 creating [adventJS](https://adventjs.dev/)\n- [@borjapazr](https://twitter.com/borjapazr) for creating [Awesome adventJS](https://github.com/borjapazr/awesome-adventjs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faanton%2Fadventjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faanton%2Fadventjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faanton%2Fadventjs/lists"}