hayatoinkz / Design-Patterns-Typescript

A repository to learn and practice Design Patterns in Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design Patterns in Typescript

πŸ“– Content

πŸ” Behavioral

  • Chain of Responsibility
  • Command
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

πŸ—οΈ Creational

  • Abstract Factory
  • Builder
  • Factory Method
  • Prototype
  • Singleton

πŸ›οΈ Structural

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

πŸ’» How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm or yarn) installed on your computer. From your command line:

Configuration Project

# Clone this repository
$ git clone https://github.com/vinicius-r-s/Design-Patterns-Typescript.git

# Go into the repository
$ cd Design-Patterns-Typescript

# Install dependencies
$ npm i
# Or
$ yarn

Run a Design Pattern

# Yarn
$ yarn ts-node src/type-design-pattern-name/design-pattern-name/index.ts
# Or Globally
$ ts-node src/type-design-pattern-name/design-pattern-name/index.ts

πŸ“¬ Credits

About

A repository to learn and practice Design Patterns in Typescript


Languages

Language:TypeScript 69.8%Language:JavaScript 27.6%Language:Shell 2.6%