Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 517 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 517 Bytes

design-patterns

Intro

This is a demo project for practising design patterns in JS.

Usage

npm install
npm test

Design patterns implemented

  • Singleton pattern
  • Strategy pattern
  • Proxy pattern
  • Iterator pattern
  • Publish-subscribe pattern
  • Command pattern
  • Composite pattern
  • Template method pattern
  • Flyweight pattern
  • Chain of responsibility pattern
  • Mediator pattern
  • Decorator pattern
  • State pattern
  • Adapter pattern