mixlea-utils-js 0.1.100 → 0.1.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -190,6 +190,8 @@ export declare function arrayToObject<T = any>(arr: any[], keyGetter: string | (
190
190
 
191
191
  export declare function arrayToShallowObject<T = any>(arr: any[], keyFn: (item: T) => string, valueFn: (item: T) => any): Record<any, any>;
192
192
 
193
+ export declare function average<T>(arr: T[]): number;
194
+
193
195
  export declare function buildURL({ baseURL, url, params, }: {
194
196
  baseURL?: string;
195
197
  url: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mixlea-utils-js",
3
3
  "type": "module",
4
- "version": "0.1.100",
4
+ "version": "0.1.102",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {