npm.io
0.3.5 • Published 3 years ago

@xeito/injection

Licence
MIT
Version
0.3.5
Deps
0
Size
8 kB
Vulns
0
Weekly
0

Xeito - Harness the power of the web.

xeito-logo

Xeito is a typescript framework for building web applications

Xeito Documentation

Xeito on npm   License


Xeito Injection

This is the Dependency Injection library for Xeito Framework. It provides the classes and decorators required to create and access singleton services.

To find the full documentation and more links go to the main README file.


Exports:

Classes:
  • Registry: The class that manages the injection registry (used by the decorators, not intended to be used directly) [Internal].
Decorators:
  • Injectable: Marks a class as a service and adds related functionality.
  • Inject: Injects a service into a class (through a decorated property).
Interfaces
  • InjectableMetadata: The interface for injectable metadata (decorator).

Keywords