Aerith is a structured TypeScript repository designed for algorithm problem solving, powered by the Bun runtime. This project provides an organized environment for practicing and testing algorithmic solutions with a focus on clean code and test-driven development.
To run a task's tests, use the following command:
bun start <task-name>For example, to run the sum task:
bun start sumThis will execute the solution.test.ts file associated with the specified task using Bun's built-in test runner.
.
├── src/
│ └── index.ts # Main CLI application
└── tasks/
└── <task-name>/ # Directory for each task
├── README.MD # Task-specific documentation
├── solution.ts # Task implementation
└── solution.test.ts # Bun tests for the task
To install dependencies:
bun installTo run tests for the entire project:
bun testThis project includes a utility script to quickly scaffold new coding tasks.
To create a new task, run:
bun create-task <taskName>