0.0.1 • Published 6 years ago
superequire v0.0.1
exquire
require compatible dependency injection
usage
exquire('./a/b')
just like require('./a/b') but start from root path
but if './a/b' is a registered id, will resolve that registration
exquire('./a/b@')
inject an instance of b, assuming b is 1. a class or function with it's first letter uppercase, will be constructed with new and current exquire instance as parameter
0.0.1
6 years ago