Skip to content

Commit 2882a52

Browse files
author
Hauke Broer
committed
add install instruction
1 parent 7320956 commit 2882a52

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ This library implements dependency injection for javascript and typescript.
2020
* Does **NOT** need reflect-metadata which size is around 50 kb
2121
* 100% written in **Typescript**
2222

23+
## Install
24+
25+
```bash
26+
npm install --save-dev @owja/ioc
27+
```
28+
29+
Latest preview/dev version (alpha or beta)
30+
31+
```bash
32+
npm install --save-dev @owja/ioc@next
33+
```
34+
2335
## The Container API
2436

2537
### Creating a container
@@ -237,7 +249,7 @@ export const TYPE = {
237249
> Since 1.0.0-beta.3 we use the symbol itself for indexing the dependencies.
238250
> Prior to this version we indexed the dependencies by the string of the symbol.
239251
240-
## Type-Safe Token (2.0 beta)
252+
## Type-Safe Token (new in 2.0)
241253
242254
With version 2 we added the possibility to use a type-safe way to identify our dependencies. This is done with tokens:
243255

0 commit comments

Comments
 (0)