@sailplane/injector
v4.0.1
Published
Simple, light-weight, lazy-instantiating, and type-safe dependency injection in Typescript.
Downloads
988
Readme
@sailplane/injector - Type-safe Dependency Injection
What?
Simple, light-weight, lazy-instantiating, and type-safe dependency injection in Typescript! Perfect for use in Lambdas and unit test friendly.
This is part of the sailplane library of utilities for AWS Serverless in Node.js.
Why?
It is built on top of the BottleJS, with a simple type-safe wrapper. The original bottle is available for more advanced use, though. Even if you are not using Typescript, you may still prefer this simplified interface over using BottleJS directly.
How?
See the docs for usage and examples.