Skip to content

Commit

Permalink
docs: update README.md for links
Browse files Browse the repository at this point in the history
  • Loading branch information
kirainmoe committed May 17, 2024
1 parent 4d71490 commit d28da5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ And more features are on the way:

## Getting Started

Youmiya supports 3 styles for dependency injection, you can refer to the following example project to see how it works.

- [Decorator style (with reflect-metadata)](https://github.com/youmiyajs/youmiya/blob/main/examples/decorator-style-with-reflect-metadata/src/index.ts)
- [Decorator style (without reflect-metadata)](https://github.com/youmiyajs/youmiya/blob/main/examples/decorator-style-without-reflect-metadata/src/index.ts)
- [Provider identifier style (reflect-metadata is not needed)](https://github.com/youmiyajs/youmiya/blob/main/examples/provider-identifier-style/src/index.ts)

### Basic Usage (decorator metadata style)

`reflect-metadata` polyfill is needed for this style.
Expand Down

0 comments on commit d28da5d

Please sign in to comment.