2.8.24 • Published 5 years ago
@hoaphat/node-dependency-injection v2.8.24
node-dependency-injection
fork of origin https://www.npmjs.com/package/node-dependency-injection with custom code
npm i @hoaphat/node-dependency-injection
Additional features
- Cancel register same bean by
id, graceful return nothing - Added
container.clear()to clear all beans+definitions+alias - Added
container.bootstrap()to allow eager load all beans - Added
container.asyncBootstrap()async version of funcbootstrap - Added
container.registerSyntheticAndSet(id, instance)to do "remove-then-set" synthetic-instance - Added
container.waitAndGet(id, opts)to do "wait-for-async-bean" be ready - Added
container.getOrDefault(id, defaults)to do return default-value if no bean existing instead of throw error
2.8.19
5 years ago
2.8.23
5 years ago
2.8.21
5 years ago
2.8.20
5 years ago
2.8.24
5 years ago
2.8.18
5 years ago
2.8.16
5 years ago
2.8.15
5 years ago
2.8.14
5 years ago
2.8.13
5 years ago
2.8.12
5 years ago
2.8.11
5 years ago
2.8.10
5 years ago
2.8.9
5 years ago
2.8.8
5 years ago
2.8.7
5 years ago
2.8.6
5 years ago
2.8.5
5 years ago
2.8.4
5 years ago
2.8.3
5 years ago
2.8.2
5 years ago
2.8.1
5 years ago
2.8.0
5 years ago