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