oussamabouchikhi / design-patterns-in-typescript

Implementation of all 23 GoF (Gang of Four) Design Patterns in TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design Patterns in Typescript 🎯

Implementation of all 23 GoF (Gang of Four) Design Patterns in TypeScript.

Summary πŸ”οΈ

βœ”οΈ Creational

βœ”οΈ Structural

βœ”οΈ Behavioural

Pre-requisites πŸ”§

# You may install Node.js & npm in case you don't have them your system
# You may also install Typescript in case you don't have on your system
~ npm install -g typescript

Usage πŸ“‹

# Install dependencies
~ git clone https://github.com/oussamabouchikhi/design-patterns-in-typescript.git

# cd into the project directory
~ cd clone design-patterns-in-typescript

# Install dependencies
~ yarn install

# in 2 separate tabs

# Run this command to compile typescript in watch mode
~ tsc -w

# Run the compiled javascript code
# ~ node path
~ node ./dist/creational/facade/client.js

License πŸ“„

This project is open-sourced under the MIT license.

About

Implementation of all 23 GoF (Gang of Four) Design Patterns in TypeScript.


Languages

Language:TypeScript 100.0%