Kind: global class
Represents a ModuleRegistry
Registers a library's modules
Kind: instance method of ModuleRegistry
Returns: same instance to allow chaining
Param | Type | Description |
---|---|---|
library | object |
The library to register |
Registers a directory of modules
Kind: instance method of ModuleRegistry
Returns: same instance to allow chaining
Param | Type | Description |
---|---|---|
path | string | Array.<string> |
The path to scan |
Registers a single module
Kind: instance method of ModuleRegistry
Returns: same instance to allow chaining
Param | Type | Description |
---|---|---|
pathOrModule | string | object |
The path or module object |
Returns modules (along with dependencies) to register
Kind: instance method of ModuleRegistry
Returns: Array.<object>
- The list of resolved modules
Param | Type | Description |
---|---|---|
names | string | Array.<string> |
Names of the modules to return |