https://github.com/wardvisual/ts-design-patterns
This repository showcases examples of my own use cases for implementing design patterns with TypeScript.
https://github.com/wardvisual/ts-design-patterns
design-patterns typescript
Last synced: 10 months ago
JSON representation
This repository showcases examples of my own use cases for implementing design patterns with TypeScript.
- Host: GitHub
- URL: https://github.com/wardvisual/ts-design-patterns
- Owner: wardvisual
- Created: 2022-03-09T11:25:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-09T11:03:18.000Z (almost 3 years ago)
- Last Synced: 2024-04-23T23:21:33.317Z (about 2 years ago)
- Topics: design-patterns, typescript
- Language: TypeScript
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Design Patterns in Typescript
This repository showcases examples of my own use cases for implementing design patterns with TypeScript. Explore the code to see how design patterns can be effectively applied in real-world scenarios using TypeScript, as well as my experimentation to build useful npm packages from these learnings.
## Available Patterns
#### Adapter Design Pattern
| Use Case | Description |
| :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Database | This example demonstrates the use of the Adapter Design Pattern with TypeScript to solve the problem of changing databases from one to another, similar to an ORM. |