This repository contains TypeScript code examples for various design patterns. Design patterns are proven solutions to recurring problems in software development, and can help improve the structure, flexibility, and maintainability of your code. Patterns
The code in this repository covers the following design patterns:
- Creational Patterns: Abstract Factory
- Structural Patterns: Adapter
- Behavioral Patterns: Chain of Responsibility, Command, Mediator, Memento, Observer, Strategy and Template Method
To use the code examples in this repository, you will first need to have TypeScript installed on your machine. It is recommended to use the latest version.
After installing TypeScript, you can download the code from this repository and run it on your own machine. Make sure to install all the dependencies listed in the package.json file.
npm install
Contributions to this repository are welcome. If you would like to contribute, please open an issue or pull request with your proposed changes. All contributions must adhere to the code standards and design patterns used in this repository.