@thi.ng/metrics 0.2.4 → 0.2.9

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.
Files changed (2) hide show
  1. package/package.json +89 -89
  2. package/CHANGELOG.md +0 -24
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
1
  {
2
- "name": "@thi.ng/metrics",
3
- "version": "0.2.4",
4
- "description": "Utilities for computing & aggregating value metrics (mean, median, min/max, sd), incl. support for circular domains",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/metrics",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.1",
43
- "@thi.ng/math": "^5.11.35",
44
- "@thi.ng/vectors": "^8.6.5"
45
- },
46
- "devDependencies": {
47
- "esbuild": "^0.25.8",
48
- "typedoc": "^0.28.9",
49
- "typescript": "^5.9.2"
50
- },
51
- "keywords": [
52
- "aggregation",
53
- "circular",
54
- "interval",
55
- "mean",
56
- "median",
57
- "range",
58
- "standard-deviation",
59
- "typescript"
60
- ],
61
- "publishConfig": {
62
- "access": "public"
63
- },
64
- "browser": {
65
- "process": false,
66
- "setTimeout": false
67
- },
68
- "engines": {
69
- "node": ">=18"
70
- },
71
- "files": [
72
- "./*.js",
73
- "./*.d.ts"
74
- ],
75
- "exports": {
76
- ".": {
77
- "default": "./index.js"
78
- },
79
- "./api": {
80
- "default": "./api.js"
81
- },
82
- "./metrics": {
83
- "default": "./metrics.js"
84
- }
85
- },
86
- "thi.ng": {
87
- "year": 2025
88
- },
89
- "gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
90
- }
2
+ "name": "@thi.ng/metrics",
3
+ "version": "0.2.9",
4
+ "description": "Utilities for computing & aggregating value metrics (mean, median, min/max, sd), incl. support for circular domains",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/metrics",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/math": "^5.13.3",
44
+ "@thi.ng/vectors": "^8.6.10"
45
+ },
46
+ "devDependencies": {
47
+ "esbuild": "^0.25.11",
48
+ "typedoc": "^0.28.14",
49
+ "typescript": "^5.9.3"
50
+ },
51
+ "keywords": [
52
+ "aggregation",
53
+ "circular",
54
+ "interval",
55
+ "mean",
56
+ "median",
57
+ "range",
58
+ "standard-deviation",
59
+ "typescript"
60
+ ],
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
64
+ "browser": {
65
+ "process": false,
66
+ "setTimeout": false
67
+ },
68
+ "engines": {
69
+ "node": ">=18"
70
+ },
71
+ "files": [
72
+ "./*.js",
73
+ "./*.d.ts"
74
+ ],
75
+ "exports": {
76
+ ".": {
77
+ "default": "./index.js"
78
+ },
79
+ "./api": {
80
+ "default": "./api.js"
81
+ },
82
+ "./metrics": {
83
+ "default": "./metrics.js"
84
+ }
85
+ },
86
+ "thi.ng": {
87
+ "year": 2025
88
+ },
89
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
90
+ }
package/CHANGELOG.md DELETED
@@ -1,24 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-08-04T09:13:01Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/metrics@0.2.0) (2025-07-31)
15
-
16
- #### 🚀 Features
17
-
18
- - add median to all metrics ([64c4a11](https://github.com/thi-ng/umbrella/commit/64c4a11))
19
-
20
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/metrics@0.1.0) (2025-07-30)
21
-
22
- #### 🚀 Features
23
-
24
- - import as new pkg ([6c9b8f6](https://github.com/thi-ng/umbrella/commit/6c9b8f6))