ClosureBox
Simple DI container with flow for Node.js
Description
Simple DI container with using flow.
Requirement
You need to remove flow annotation with using transform-flow-strip-types plugin or flow-remove-types.
Usage
Exported container is singleton instance.
Set instance.
;;; Container ;
Get instance.
;; const authService: AuthService = Container;
Just it.
Install
TBD
Contribution
Please give me Pull Request :)
Licence
This software is released under the MIT License, see LICENSE.txt.