My solutions to AdventJS 2024 challenges created by @midudev 👾
AdventJS is an Advent calendar that takes place in December and offers a collection of programming challenges in JavaScript. Each challenge includes a problem explanation, its solution, and the corresponding tests.
Make sure you have Node.js installed on your system. You can check if Node.js is installed by running:
node -vThis should show the version of Node.js installed. If it is not installed, download it from the official site.
Important
The minimum node version required is 22.12.0
To run this project on your local machine, follow the steps below:
- Clone the repository.
git clone https://github.com/jaimejaramilloperez/adventjs-2024.git- Navigate to the project directory.
cd adventjs-2024- Install the dependencies (optional) using the package manager of your choice (npm, pnpm, etc).
npm install- Run all tests with:
npm run challengesOr run the tests for each challenge with the following command, replacing {challenge number} with the corresponding number:
npm run challenge{challenge number}For example:
npm run challenge1 # Runs tests for challenge 1
npm run challenge5 # Runs tests for challenge 5
npm run challenge12 # Runs tests for challenge 12
npm run challenge25 # Runs tests for challenge 25