- Notifications
You must be signed in to change notification settings - Fork189
Design Pattern Examples in TypeScript
License
RefactoringGuru/design-patterns-typescript
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository is part of theRefactoring.Guru project.
It contains TypeScript examples for all classic GoF design patterns. Each pattern includes two examples:
Conceptual examples show the internal structure of patterns, including detailed comments.
RealWorld examples show how patterns can be used in real-world web applications.
For simplicity reasons, the examples are console apps. In order to launch them, you have to installNode.js and NPM on your computer and then installTypeScript compiler andTypeScript Node extension like this:
npm install -g typescriptnpm install -g ts-nodeWhen you have all the required software installed, the examples can be launched via the command line as follows:
ts-node src/Path-to-example/Example.tsFor the best experience, I recommend working with examples with these IDEs:
I appreciate any help, whether it's a simple fix of a typo or a whole new example. Please read theContributor's Guide to get more information.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors: Alexey Pyltsyn (@lex111) and Alexander Shvets (@neochief)
Contributors:See the list of contributors
About
Design Pattern Examples in TypeScript
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.
