Skip to content

Ge11ert/design_patterns_in_typescript

This branch is 2 commits behind torokmark/design_patterns_in_typescript:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c8d3500 · Jun 19, 2018

History

79 Commits
Oct 19, 2016
Apr 20, 2018
Oct 22, 2016
Oct 19, 2016
Oct 22, 2016
Oct 22, 2016
Oct 22, 2016
Oct 22, 2016
Oct 22, 2016
Mar 6, 2018
Oct 22, 2016
Oct 22, 2016
Jun 3, 2017
Oct 22, 2016
Oct 22, 2016
Oct 22, 2016
Oct 19, 2016
Oct 22, 2016
Jun 19, 2018
Oct 22, 2016
Oct 22, 2016
Oct 22, 2016
Dec 28, 2016
Oct 17, 2016
Dec 8, 2017
Oct 22, 2016
Dec 19, 2017
Dec 19, 2017

Repository files navigation

Design Patterns in TypeScript

Here are the implementations of the following design patterns in TypeScript:

Creational

Structural Patterns

Behavioral Patterns

Compile the project

$ git clone https://github.com/torokmark/design_patterns_in_typescript.git
$ cd design_patterns_in_typescript
$ tsc

There is a tsconfig.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 a patterns.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.ts

Execute the project

After the compilation of the project, a patterns.js is generated by default. Executing the file is:

node patterns.js

About

📐 Design pattern implementations in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%