All Projects → torokmark → Design_patterns_in_typescript

torokmark / Design_patterns_in_typescript

Licence: mit
📐 Design pattern implementations in TypeScript

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Design patterns in typescript

oh-my-design-patterns
🎨 Record the articles and code I wrote while learning design patterns
Stars: ✭ 33 (-99.19%)
Mutual labels:  adapter, builder, facade, design-patterns
dotnet-design-patterns-samples
The samples of .NET design patterns
Stars: ✭ 25 (-99.39%)
Mutual labels:  builder, facade, composite, design-patterns
Pydesignpattern
Design Pattern that described by Python, This is the source code for the book of Everybody Know Design Patterns.
Stars: ✭ 174 (-95.73%)
Mutual labels:  command, adapter
Designpatterns
🔑Elements of Reusable Object-Oriented Software🔓is a software engineering book describing software design patterns. The book's authors are Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides with a foreword by Grady Booch.
Stars: ✭ 134 (-96.71%)
Mutual labels:  command, adapter
100 Words Design Patterns Java
GoF Design Patterns, each pattern described with story from real life.
Stars: ✭ 117 (-97.13%)
Mutual labels:  builder, adapter
PrimeAdapter
PrimeAdapter makes working with RecyclerView easier.
Stars: ✭ 54 (-98.67%)
Mutual labels:  adapter, builder
clean-ts-api
API em NodeJs usando Typescript, TDD, Clean Architecture, Design Patterns e SOLID principles
Stars: ✭ 43 (-98.94%)
Mutual labels:  composite, design-patterns
Think Awesome
A curated list of awesome things related to ThinkJS 3.x
Stars: ✭ 314 (-92.29%)
Mutual labels:  adapter
Pojobuilder
A Java Code Generator for Pojo Builders
Stars: ✭ 326 (-91.99%)
Mutual labels:  builder
Design Pattern
设计模式 C# 版(有系列文章讲解)
Stars: ✭ 306 (-92.49%)
Mutual labels:  design-patterns
Updated Carbanak Source With Plugins
https://twitter.com/itsreallynick/status/1120410950430089224
Stars: ✭ 303 (-92.56%)
Mutual labels:  builder
Grabana
User-friendly Go library for building Grafana dashboards
Stars: ✭ 313 (-92.31%)
Mutual labels:  builder
Xorm Adapter
Xorm adapter for Casbin
Stars: ✭ 329 (-91.92%)
Mutual labels:  adapter
Boardview
A draggable boardview for java android (Kanban style)
Stars: ✭ 309 (-92.41%)
Mutual labels:  adapter
Tsukae
🧑‍💻📊 Show off your most used shell commands
Stars: ✭ 345 (-91.53%)
Mutual labels:  command
Loukoum
A simple SQL Query Builder
Stars: ✭ 305 (-92.51%)
Mutual labels:  builder
Buildkit
concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
Stars: ✭ 4,537 (+11.42%)
Mutual labels:  builder
Codeeggdailyinterview
码个蛋每日面试题
Stars: ✭ 345 (-91.53%)
Mutual labels:  design-patterns
React Querybuilder
A QueryBuilder component for React
Stars: ✭ 315 (-92.26%)
Mutual labels:  builder
Autodsl
Auto-generate Kotlin DSL
Stars: ✭ 316 (-92.24%)
Mutual labels:  builder

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].