├── .editorconfig ├── README.md ├── abstract-factory ├── index.ts └── simple.ts ├── adapter ├── class-adapter.ts └── object-adapter.ts ├── bridge └── index.ts ├── chain-of-responsibility └── index.ts ├── command └── index.ts ├── composite └── index.ts ├── decorator ├── index.ts └── real-world.ts ├── delegation └── index.ts ├── facade └── index.ts ├── factory-method └── index.ts ├── flyweight └── index.ts ├── interpreter └── index.ts ├── iterator └── index.ts ├── lazy-initilisation └── index.ts ├── mediator └── index.ts ├── memento └── index.ts ├── multition └── index.ts ├── null-object └── index.ts ├── observer └── index.ts ├── prototype └── index.ts ├── proxy └── index.ts ├── singleton └── index.ts ├── state └── index.ts ├── strategy ├── index.ts └── real-world.ts ├── template-method └── index.ts └── visitor └── index.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/.editorconfig -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/README.md -------------------------------------------------------------------------------- /abstract-factory/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/abstract-factory/index.ts -------------------------------------------------------------------------------- /abstract-factory/simple.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/abstract-factory/simple.ts -------------------------------------------------------------------------------- /adapter/class-adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/adapter/class-adapter.ts -------------------------------------------------------------------------------- /adapter/object-adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/adapter/object-adapter.ts -------------------------------------------------------------------------------- /bridge/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/bridge/index.ts -------------------------------------------------------------------------------- /chain-of-responsibility/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/chain-of-responsibility/index.ts -------------------------------------------------------------------------------- /command/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/command/index.ts -------------------------------------------------------------------------------- /composite/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/composite/index.ts -------------------------------------------------------------------------------- /decorator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/decorator/index.ts -------------------------------------------------------------------------------- /decorator/real-world.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/decorator/real-world.ts -------------------------------------------------------------------------------- /delegation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/delegation/index.ts -------------------------------------------------------------------------------- /facade/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/facade/index.ts -------------------------------------------------------------------------------- /factory-method/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/factory-method/index.ts -------------------------------------------------------------------------------- /flyweight/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/interpreter/index.ts -------------------------------------------------------------------------------- /iterator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/iterator/index.ts -------------------------------------------------------------------------------- /lazy-initilisation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/lazy-initilisation/index.ts -------------------------------------------------------------------------------- /mediator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/mediator/index.ts -------------------------------------------------------------------------------- /memento/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/memento/index.ts -------------------------------------------------------------------------------- /multition/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/multition/index.ts -------------------------------------------------------------------------------- /null-object/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/null-object/index.ts -------------------------------------------------------------------------------- /observer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/observer/index.ts -------------------------------------------------------------------------------- /prototype/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/prototype/index.ts -------------------------------------------------------------------------------- /proxy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/proxy/index.ts -------------------------------------------------------------------------------- /singleton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/singleton/index.ts -------------------------------------------------------------------------------- /state/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/state/index.ts -------------------------------------------------------------------------------- /strategy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/strategy/index.ts -------------------------------------------------------------------------------- /strategy/real-world.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/strategy/real-world.ts -------------------------------------------------------------------------------- /template-method/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/template-method/index.ts -------------------------------------------------------------------------------- /visitor/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewlilley/design-patterns/HEAD/visitor/index.ts --------------------------------------------------------------------------------