Module helpers.
- Source:
Methods
(static) name(module, optsopt) → {string}
Get the name of a module.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
module |
object | string | Either a module object, or filename.
If it is an |
||||||||||||||||||||||||||||||||||||
opts |
object |
<optional> |
Options. Properties
|
- Source:
Returns:
The name of a module as per the options set.
- Type
- string