Members
(inner, constant) packageInfoProvider :ProviderCreator.<PackageInfoProviderOptions>
- Source:
- Tutorials:
The service provider that once registered on the app container will set the result of
packageInfo as a service.
Type:
Methods
(inner) packageInfo(pathUtils) → {Object.<string, any>}
- Source:
- Tutorials:
- To Do:
-
- This should be `async`, or at least have an async alternative.
Gets the contents of the implementation's package.json.
Parameters:
| Name | Type | Description |
|---|---|---|
pathUtils |
PathUtils | To build the path to the |
Returns:
Type Definitions
PackageInfoProviderOptions
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
serviceName |
string | The name that will be used to register
the result of
|
services |
PackageInfoServiceMap | A dictionary with the services that need to be injected on the function. |
Type:
PackageInfoServiceMap
- Source:
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
pathUtils |
string | PathUtils |
<optional> |
The name of the service for
|