neat-di
Scope based di with singleton and prototype objects. Why do we need it? A lot of time we need singleton objects in js/ts world, But when things run on single thread then using and maintaining singleton objects can be tricky. This is a small library to do just that.
Example: Lets create a sigleton with @Injectable and register it with object name 'mock-injectable'
Now to use this object we ll use @Inject and name with which the object is registerd. In case of prototype or scope based sigleton the new objects in scope are created during the retreaval.
Thats about it.