This is a demo repository. It contains all 23 traditional design patterns of the object-oriented design paradigm.
It currently includes examples of each pattern in TypeScript. Examples in other languages may be included in the future.
The first level of this project is designed to contain folders for each programming language.
Within the folder of a given language, the patterns are divided by category into behavioral
, creational
, and structural
directories.
The assets
folder includes a UML Diagram in SVG format for each pattern.
The test
folder includes a test suite for each pattern.
Running tests
npm run test