- Notifications
You must be signed in to change notification settings - Fork770
📐 Design pattern implementations in TypeScript
License
NotificationsYou must be signed in to change notification settings
torokmark/design_patterns_in_typescript
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Here are the implementations of the following design patterns in TypeScript:
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
$ git clone https://github.com/torokmark/design_patterns_in_typescript.git$ cd design_patterns_in_typescript$ tscThere is atsconfig.json file in the root directory which is responsible for the compiler options.
As it is set the default target is Ecmascript5 now.
Any additional options come here.
By default the output is apatterns.js file.
To compile only one pattern, use the following command.
$ cd design_patterns_in_typescript/visitor$ tsc --target ES5 --module system --outFile visitor.js visitor.tsAfter the compilation of the project, apatterns.js is generated by default.Executing the file is:
node patterns.jsAbout
📐 Design pattern implementations in TypeScript
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
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.