Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b853ff0e6 | ||
|
|
fff9e2b353 |
@@ -1,7 +1,5 @@
|
|||||||
# netdi
|
# netdi
|
||||||
|
|
||||||
A dependency injection container for [TypeScript](https://www.typescriptlang.org/) projects that is inspired by the [.NET](https://dotnet.microsoft.com/en-us/) DI container. It is designed to be simple, lightweight, and easy to use.
|
|
||||||
|
|
||||||
[](https://github.com/StevanFreeborn/netdi/actions/workflows/pull_request.yml)
|
[](https://github.com/StevanFreeborn/netdi/actions/workflows/pull_request.yml)
|
||||||
[](https://codecov.io/gh/StevanFreeborn/netdi)
|
[](https://codecov.io/gh/StevanFreeborn/netdi)
|
||||||
[](https://github.com/StevanFreeborn/netdi/actions/workflows/publish.yml)
|
[](https://github.com/StevanFreeborn/netdi/actions/workflows/publish.yml)
|
||||||
@@ -10,6 +8,8 @@ A dependency injection container for [TypeScript](https://www.typescriptlang.org
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
A dependency injection container for [TypeScript](https://www.typescriptlang.org/) projects that is inspired by the [.NET](https://dotnet.microsoft.com/en-us/) DI container. It is designed to be simple, lightweight, and easy to use.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- ✅ .NET-style service registration with different lifetimes (singleton, scoped, transient)
|
- ✅ .NET-style service registration with different lifetimes (singleton, scoped, transient)
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ export default defineConfig({
|
|||||||
environment: 'node',
|
environment: 'node',
|
||||||
coverage: {
|
coverage: {
|
||||||
provider: 'istanbul',
|
provider: 'istanbul',
|
||||||
reporter: ['text', 'html', 'json', 'lcov'],
|
reporter: ['text', 'html', 'json', 'lcov', 'cobertura'],
|
||||||
include: ['**/src/**/*.ts'],
|
include: ['**/src/**/*.ts'],
|
||||||
exclude: ['**/src/index.ts', '**/src/server.ts'],
|
exclude: ['**/src/index.ts', '**/src/server.ts'],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user