Angular2 DI in Typescript. Can we use it in node.js / non-angular projects?

前端 未结 6 918
孤独总比滥情好
孤独总比滥情好 2020-12-05 13:41

Was the angular2 dependency injection container designed for standalone use, and is it possible to use it for typescript/javascript server-side applications ?

I open

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 14:29

    There is an awesome port of the Angular DI: https://github.com/mgechev/injection-js

提交回复
热议问题