wookieb / alpha-dic

Powerful dependency injection container for node.js
MIT License
27 stars 0 forks source link

Ability to alias definition between containers #15

Closed wookieb closed 4 years ago

wookieb commented 4 years ago
const container = create();
const container2 = create();

// second parameter is optional
container.createAlias(definition, {name: 'newName'});