All these are examples of Head first design Patterns adapted from java to Typescript (also have small description about problem in Problem-Statement.txt in each folder)
To run these examples you need to install Typescript and ts-node
1.npm install -g typescript
2.npm i ts-node
To run a particular pattern just go to that design pattern using cd command
Run following command in terminal
1.tsc
2.ts-node main.ts