Skip to content
@type-injector

type-injector

Use types to get cdi managed instances of objects.

Type Injector Lib

@type-injector/lib is a small library to inject values by type or token.

Features looking for contributors/sponsors

  • @type-injector/lib

    • special inject token to inject the TypeInjector itself
    • provide decorators
    • life-cycle to destroy a scope and its instances programmatically (without waiting for gc)
    • extend InjectConfig, so it can include a preferred scope
  • @type-injector/decorated (doesn't exist yet)

    • optional! decorators that create the static injectConfig
  • @type-injector/cli (doesn't exist yet)

    • generate a visualized (svg/md/ascii-art) dependency tree to document a project
    • static code analysis to check depdendencies without running a project
    • generate wrapper/integration code for different frameworks
  • @type-injector/demo

    • examples for additional framework integrations (e.g. stencil/viewjs)
    • improved demo documentation
    • measure+improve coverage

Pinned Loading

  1. type-injector-lib type-injector-lib Public

    inject typescript classes recursively

    TypeScript 4

  2. type-injector-lib-demo type-injector-lib-demo Public

    demo of using and integrations type-injector

    JavaScript 1 1

Repositories

Showing 3 of 3 repositories
  • type-injector-lib-demo Public

    demo of using and integrations type-injector

    type-injector/type-injector-lib-demo’s past year of commit activity
    JavaScript 1 MIT 1 0 0 Updated Oct 14, 2022
  • type-injector-lib Public

    inject typescript classes recursively

    type-injector/type-injector-lib’s past year of commit activity
    TypeScript 4 0 0 0 Updated Oct 10, 2022
  • .github Public
    type-injector/.github’s past year of commit activity
    0 Apache-2.0 0 0 0 Updated Sep 19, 2022

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…