🎉 Welcome to the documentation for the Data Structures in TypeScript project.
This project is my personal learning journey to implement various data structures in TypeScript by creating classes for each data structure and writing test files to validate them.
Here's what powers this project:
- ⚙️ TypeScript - JavaScript with syntax for types.
- 🧪 Vitest - A Vite-native unit test framework.
- 🎨 Prettier - An opinionated code formatter.
Enhance your development workflow with these tools:
The following npm scripts are available:
- 🧹
npm run clean
: Removes the coverage directory. - 🎨
npm run format
: Formats the code using Prettier. - 🔍
npm run format:check
: Checks if the code is formatted according to Prettier rules. - 🧪
npm run test
: Runs all tests once using Vitest. - 🕵️♂️
npm run test:dev
: Runs tests in watch mode for development using Vitest. - 📊
npm run test:cov
: Runs tests with coverage report using Vitest.