Welcome to the TypeScript Design Patterns repository! This project showcases a variety of design patterns implemented in TypeScript, organized into three main categories: Creational, Structural, and Behavioral.
Encapsulates and centralizes the logic of object creation in one place based on a contract, these patterns provide various ways to create objects, helping to decouple the creation process from the actual business logic.
Ensures that different classes are compatible with each other and work together in an organized and flexible manner, these patterns deal with object composition or the way to structure relationships between entities.
Handles communication between objects, distributing tasks in an abstract and flexible way, these patterns are concerned with algorithms and the assignment of responsibilities between objects.
Explore the examples in each folder and run them to see the patterns in action.
π€ Contributing Contributions are welcome! Feel free to submit a pull request or open an issue if you have suggestions or improvements.