{"id":13544396,"url":"https://github.com/achalogy/advent-js-2022","last_synced_at":"2025-04-02T14:30:58.697Z","repository":{"id":64879413,"uuid":"573209176","full_name":"Achalogy/advent-js-2022","owner":"Achalogy","description":"Retos de Advent Js 2022 explicado para principantes.","archived":false,"fork":false,"pushed_at":"2024-11-29T04:24:40.000Z","size":185,"stargazers_count":141,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-29T05:24:36.920Z","etag":null,"topics":["adventjs-2022","christmas","javascript","newbie"],"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/Achalogy.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-01T23:45:59.000Z","updated_at":"2024-11-29T04:24:44.000Z","dependencies_parsed_at":"2023-12-01T16:48:13.627Z","dependency_job_id":null,"html_url":"https://github.com/Achalogy/advent-js-2022","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/Achalogy%2Fadvent-js-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achalogy%2Fadvent-js-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achalogy%2Fadvent-js-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achalogy%2Fadvent-js-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Achalogy","download_url":"https://codeload.github.com/Achalogy/advent-js-2022/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246832159,"owners_count":20841118,"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-2022","christmas","javascript","newbie"],"created_at":"2024-08-01T11:00:47.689Z","updated_at":"2025-04-02T14:30:53.688Z","avatar_url":"https://github.com/Achalogy.png","language":"JavaScript","funding_links":[],"categories":["🤖 2022"],"sub_categories":["🧑‍💻 Solutions"],"readme":"# 🌟 | Advent JS - Achalogy\n\nPor favor dale a la estrellita y sígueme en YouTube y mis redes, este repositorio me ha costado demasiadas horas de trabajo:\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://wakatime.com/badge/user/dfad5e3e-d673-48d4-a2d9-29c1c546ed80/project/13d232f7-5f61-455e-9881-ad9601346286\"\u003e\u003cimg src=\"https://wakatime.com/badge/user/dfad5e3e-d673-48d4-a2d9-29c1c546ed80/project/13d232f7-5f61-455e-9881-ad9601346286.svg\" alt=\"wakatime\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\nRepositorio donde estoy subiendo y explicando los retos de [Advent JS](https://adventjs.dev/)\n\n![Advent JS 2022](https://i.imgur.com/HUihoze.jpg)\n\n## 🎮 | Retos\n\n|                                 IMG                                  | ##  |                  Nombre del Reto                  | Dificultad[^1] |                  Descripción                   |                                   Solución                                    |                Video                |\n| :------------------------------------------------------------------: | :-: | :-----------------------------------------------: | :------------: | :--------------------------------------------: | :---------------------------------------------------------------------------: | :---------------------------------: |\n| \u003cimg src=\"https://i.imgur.com/5zLFcNf.png\" width=\"50\" height=\"50\" /\u003e | 01  |    ¡Automatizando envolver regalos de navidad!    |       🟢       | [Ver](https://adventjs.dev/challenges/2022/1)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-1)  | [Ver](https://youtu.be/AlsPi16-xgI) |\n| \u003cimg src=\"https://i.imgur.com/kIxSKDL.png\" width=\"50\" height=\"50\" /\u003e | 02  |          Nadie quiere hacer horas extra           |       🟢       | [Ver](https://adventjs.dev/challenges/2022/2)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-2)  | [Ver](https://youtu.be/ffPb7gMjaNE) |\n| \u003cimg src=\"https://i.imgur.com/XCyw0U8.png\" width=\"50\" height=\"50\" /\u003e | 03  | ¿Cuántas cajas de regalos puede llevar Papá Noel? |       🟢       | [Ver](https://adventjs.dev/challenges/2022/3)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-3)  | [Ver](https://youtu.be/rCFlRQHvTQ8) |\n| \u003cimg src=\"https://i.imgur.com/L85pHE7.png\" width=\"50\" height=\"50\" /\u003e | 04  |      Una caja dentro de otra caja y otra...       |       🟠       | [Ver](https://adventjs.dev/challenges/2022/4)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-4)  | [Ver](https://youtu.be/8HLJUp9zvTs) |\n| \u003cimg src=\"https://i.imgur.com/y7Z0k6w.png\" width=\"50\" height=\"50\" /\u003e | 05  |            Optimizando viajes de Santa            |       🔴       | [Ver](https://adventjs.dev/challenges/2022/5)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-5)  | [Ver](https://youtu.be/BcpHWwe0ZIE) |\n| \u003cimg src=\"https://i.imgur.com/hRsRMt1.png\" width=\"50\" height=\"50\" /\u003e | 06  |             Creando adornos navideños             |       🟠       | [Ver](https://adventjs.dev/challenges/2022/6)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-6)  | [Ver](https://youtu.be/-d93s9GGr0I) |\n| \u003cimg src=\"https://i.imgur.com/SVnRN4G.png\" width=\"50\" height=\"50\" /\u003e | 07  |          Haciendo inventario de regalos           |       🟢       | [Ver](https://adventjs.dev/challenges/2022/7)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-7)  | [Ver](https://youtu.be/aRxTAaMZhvA) |\n| \u003cimg src=\"https://i.imgur.com/samqqgX.png\" width=\"50\" height=\"50\" /\u003e | 08  |             ¡Necesitamos un mecánico!             |       🟠       | [Ver](https://adventjs.dev/challenges/2022/8)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-8)  | [Ver](https://youtu.be/QGjEV-GvmKI) |\n| \u003cimg src=\"https://i.imgur.com/0mkkbXx.png\" width=\"50\" height=\"50\" /\u003e | 09  |            Las locas luces de Navidad             |       🟢       | [Ver](https://adventjs.dev/challenges/2022/9)  | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-9)  | [Ver](https://youtu.be/yvuM5smJ7Zo) |\n| \u003cimg src=\"https://i.imgur.com/Z8CTPPx.png\" width=\"50\" height=\"50\" /\u003e | 10  |         El salto del trineo de Papá Noel          |       🟠       | [Ver](https://adventjs.dev/challenges/2022/10) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-10) | [Ver](https://youtu.be/fsQ6lOhLUj8) |\n| \u003cimg src=\"https://i.imgur.com/pjzw0mA.png\" width=\"50\" height=\"50\" /\u003e | 11  |             Papá Noel es Scrum Master             |       🔴       | [Ver](https://adventjs.dev/challenges/2022/11) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-11) | [Ver](https://youtu.be/mi2Yc7tAYmo) |\n| \u003cimg src=\"https://i.imgur.com/Iy7FnZH.png\" width=\"50\" height=\"50\" /\u003e | 12  |            Trineos eléctricos, ¡guau!             |       🟠       | [Ver](https://adventjs.dev/challenges/2022/12) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-12) | [Ver](https://youtu.be/cnoYD67Ww9A) |\n| \u003cimg src=\"https://i.imgur.com/MeJZo6u.png\" width=\"50\" height=\"50\" /\u003e | 13  |        Backup de los archivos de Papá Noel        |       🟢       | [Ver](https://adventjs.dev/challenges/2022/13) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-13) | [Ver](https://youtu.be/zLWjdR-6SHc) |\n| \u003cimg src=\"https://i.imgur.com/WC5GQN6.png\" width=\"50\" height=\"50\" /\u003e | 14  |                  El mejor camino                  |       🟠       | [Ver](https://adventjs.dev/challenges/2022/14) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-14) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/10tpmKJ.png\" width=\"50\" height=\"50\" /\u003e | 15  |           Decorando el árbol de Navidad           |       🟠       | [Ver](https://adventjs.dev/challenges/2022/15) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-15) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/7wzoH9Q.png\" width=\"50\" height=\"50\" /\u003e | 16  |        Arreglando las cartas de Papá Noel         |       🔴       | [Ver](https://adventjs.dev/challenges/2022/16) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-16) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/1d7NZ33.png\" width=\"50\" height=\"50\" /\u003e | 17  |           Llevando los regalos en sacos           |       🟠       | [Ver](https://adventjs.dev/challenges/2022/17) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-17) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/5E0rjbV.png\" width=\"50\" height=\"50\" /\u003e | 18  |             ¡Nos quedamos sin tinta!              |       🟢       | [Ver](https://adventjs.dev/challenges/2022/18) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-18) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/hbBuJZH.png\" width=\"50\" height=\"50\" /\u003e | 19  |               Ordenando los regalos               |       🟢       | [Ver](https://adventjs.dev/challenges/2022/19) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-19) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/YWBwVY2.png\" width=\"50\" height=\"50\" /\u003e | 20  |               Más viajes retadores                |       🔴       | [Ver](https://adventjs.dev/challenges/2022/20) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-20) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/9eyxAFH.png\" width=\"50\" height=\"50\" /\u003e | 21  |            Creando la tabla de regalos            |       🟠       | [Ver](https://adventjs.dev/challenges/2022/21) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-21) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/sANx7vo.png\" width=\"50\" height=\"50\" /\u003e | 22  |            La iluminación en sintonía             |       🟢       | [Ver](https://adventjs.dev/challenges/2022/22) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-22) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/8UEEMyH.png\" width=\"50\" height=\"50\" /\u003e | 23  |              Compilador de Papá Noel              |       🔴       | [Ver](https://adventjs.dev/challenges/2022/23) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-23) |            NO DISPONIBLE            |\n| \u003cimg src=\"https://i.imgur.com/FmXcVms.png\" width=\"50\" height=\"50\" /\u003e | 24  |           El último reto es un laberito           |       🔴       | [Ver](https://adventjs.dev/challenges/2022/24) | [Spoiler](https://github.com/Achalogy/advent-js-2022/tree/main/retos/reto-24) |            NO DISPONIBLE            |\n\n[^1]: **Dificultad**: 🟢 Facil 🟠 Media 🔴 Dificil 🟣 Muy Dificil\n\n## ⌨️ | Instalación\n\nInstala Jest para las pruebas con:\n\n`npm install`\n\n## 🧪 | Tests\n\nPuedes comprobar los retos usando en tu terminal el comando `npm run jest`.\nSi quieres probar tus propios scripts, tienes dos opciones:\n\n1. Cambiar de nombre el archivo `index.js` y crear tu propio `index.js`\n2. Comentar la función en el archivo `index.js` y crear tu propia función\n\n```bash\nnpm run test # Para correr todos los test de todos los retos\n\nnpm run test:n # n siendo el numero del reto, por ejemplo\nnpm run test:1 # Correra el test del reto 1\n```\n\n## Achalogy\n\nSoy un estudiante de Ingeniería de Sistemas Colombiano, espero te haya gustado este repositorio y si eres un estudiante también y estás aprendiendo programación, te dejo este repositorio con algunos conceptos que aprendí en la comunidad de Midudev mientras desarrollaba el Adviento navideño de 2022.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachalogy%2Fadvent-js-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fachalogy%2Fadvent-js-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachalogy%2Fadvent-js-2022/lists"}