npm.io
1.1.3 • Published 6 years ago

bind-di

Licence
MIT
Version
1.1.3
Deps
5
Size
379 kB
Vulns
0
Weekly
0
Stars
2

Node.js CI License: MIT

Bind

Modern JavaScript Dependency Injection Framework written in TypeScript

Check out the Documentation website for full documentation

FEATURES

  • 100% TypeScript
  • 100% Decorator based configuration
  • File system scan. Components are loaded from file system, based on @Component decorators. No need for any configuration files.
  • Decorator-based dependency injection via @Inject decorator
  • Constructor-base, property-based and setter-based injections are supported
  • Component store can be replaced at any time even in the running application
  • Dependency validation during initialization phaze.
  • Factory Component - components that can create and return other components
  • Async methods postConstruct and preDestroy can be used to establish database connections or any other async operation needed for initialization.
  • debugging messages with debug library.
  • Support for Component Lifecycle Scoped - Singleton, NewInstance, Request, Session and custom Lifecycle scopes

Keywords