Netherworld's Pretend Minibar
    Wondering what’s next for npm?Check out our public roadmap! »

    @sailplane/injector
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    @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 doc site for usage and examples.

    There's also a small working example of Injector in the example directory. It includes Serverless Framework, Webpack, and @sailplane/lambda-utils.

    Install

    npm i @sailplane/injector

    DownloadsWeekly Downloads

    221

    Version

    1.0.2

    License

    Apache-2.0

    Unpacked Size

    11.5 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar