Mami
This is the one who cares about your dependencies.
Example
; const get = ; ;
API
mami(options: Object): Function
Option name | Description |
---|---|
loadModule: Function |
Function that load modules. It should return Promise that should return loaded module content. |
modules: Object |
Keys of that object is a module name (any word). Values is a object or function that tell mami what dependencies is required. |
Returns function that give you ability to get any described module.
const get = ; // returns Promise ;