Constructor
(abstract) new BaseThunderstoreService()
Methods
(async) fetchPackageMetrics(pkg) → {Promise.<object>}
Fetches package metrics from the Thunderstore API.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
pkg |
object | Package specifier Properties
|
Returns:
- Promise containing validated package metrics
- Type
- Promise.<object>