typescript-design-patterns
typescript-design-patterns copied to clipboard
Designs Pattern In TypeScript
TypeScript Design Patterns
该项目基于 TypeScript 实现了下列设计模式:
Creational(创建型模式)
Structural Patterns(结构型模式)
Behavioral Patterns(行为型模式)
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
项目使用
- 克隆项目
$ git clone
- 进入项目目录
$ cd
- 安装依赖
$ npm i
- 运行项目
$ npm start
参考资源
- torokmark/design_patterns_in_typescript
- 图说设计模式
- 最易懂的设计模式解析
- JavaScript设计模式与开发实践