bind-di
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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

Package Sidebar

Install

npm i bind-di

Weekly Downloads

7

Version

1.1.3

License

MIT

Unpacked Size

389 kB

Total Files

468

Last publish

Collaborators

  • dmitri.snytkine