https://github.com/lironhazan/advanced-patterns-in-typescript
Advanced patterns in typescript
https://github.com/lironhazan/advanced-patterns-in-typescript
design-patterns educational-project fp typescript
Last synced: over 1 year ago
JSON representation
Advanced patterns in typescript
- Host: GitHub
- URL: https://github.com/lironhazan/advanced-patterns-in-typescript
- Owner: LironHazan
- Created: 2019-11-30T09:59:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T07:31:11.000Z (over 3 years ago)
- Last Synced: 2025-03-29T13:03:55.757Z (over 1 year ago)
- Topics: design-patterns, educational-project, fp, typescript
- Language: TypeScript
- Homepage:
- Size: 928 KB
- Stars: 20
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Advanced patterns in Typescript
Following repo was started as a collection of code references/concepts for my personal blogs.
[Liron Hazan @medium](https://medium.com/@lironhazan)
[Type thinking @devto](https://dev.to/lironn_h/type-thinking-p1-types-3j94)
You're more than welcome to fork and open PR's with your educative awesome examples :)
Content:
- DI with decorators (Metaprogramming).
- Type system concepts
- Useful Gof DP (mainly behavioral).
- Functional concepts.
- Compiler tricks.
- Parsers
- Any paradigm for writing better software
In order to run each demo (of the design patterns):
`ts-node ./folder/*/demo.ts`
OR
`tsc filename.ts && node filename.js`
Other examples could be executed using ts-node