@thi.ng/transducers-stats 2.2.39 → 2.2.44
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.
- package/package.json +151 -151
- package/CHANGELOG.md +0 -47
package/package.json
CHANGED
|
@@ -1,152 +1,152 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
2
|
+
"name": "@thi.ng/transducers-stats",
|
|
3
|
+
"version": "2.2.44",
|
|
4
|
+
"description": "Transducers for statistical / technical analysis",
|
|
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/transducers-stats",
|
|
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/buffers": "^1.0.25",
|
|
44
|
+
"@thi.ng/checks": "^3.7.22",
|
|
45
|
+
"@thi.ng/errors": "^2.5.46",
|
|
46
|
+
"@thi.ng/transducers": "^9.6.14"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"esbuild": "^0.25.11",
|
|
50
|
+
"typedoc": "^0.28.14",
|
|
51
|
+
"typescript": "^5.9.3"
|
|
52
|
+
},
|
|
53
|
+
"keywords": [
|
|
54
|
+
"analysis",
|
|
55
|
+
"array",
|
|
56
|
+
"average",
|
|
57
|
+
"bollinger",
|
|
58
|
+
"donchian",
|
|
59
|
+
"ema",
|
|
60
|
+
"interval",
|
|
61
|
+
"macd",
|
|
62
|
+
"math",
|
|
63
|
+
"mean",
|
|
64
|
+
"momentum",
|
|
65
|
+
"moving-average",
|
|
66
|
+
"roc",
|
|
67
|
+
"sma",
|
|
68
|
+
"standard-deviation",
|
|
69
|
+
"statistics",
|
|
70
|
+
"stochastic",
|
|
71
|
+
"trix",
|
|
72
|
+
"typescript",
|
|
73
|
+
"wma"
|
|
74
|
+
],
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"access": "public"
|
|
77
|
+
},
|
|
78
|
+
"engines": {
|
|
79
|
+
"node": ">=18"
|
|
80
|
+
},
|
|
81
|
+
"files": [
|
|
82
|
+
"./*.js",
|
|
83
|
+
"./*.d.ts"
|
|
84
|
+
],
|
|
85
|
+
"exports": {
|
|
86
|
+
".": {
|
|
87
|
+
"default": "./index.js"
|
|
88
|
+
},
|
|
89
|
+
"./bollinger": {
|
|
90
|
+
"default": "./bollinger.js"
|
|
91
|
+
},
|
|
92
|
+
"./bounds": {
|
|
93
|
+
"default": "./bounds.js"
|
|
94
|
+
},
|
|
95
|
+
"./deque": {
|
|
96
|
+
"default": "./deque.js"
|
|
97
|
+
},
|
|
98
|
+
"./donchian": {
|
|
99
|
+
"default": "./donchian.js"
|
|
100
|
+
},
|
|
101
|
+
"./dot": {
|
|
102
|
+
"default": "./dot.js"
|
|
103
|
+
},
|
|
104
|
+
"./ema": {
|
|
105
|
+
"default": "./ema.js"
|
|
106
|
+
},
|
|
107
|
+
"./hma": {
|
|
108
|
+
"default": "./hma.js"
|
|
109
|
+
},
|
|
110
|
+
"./macd": {
|
|
111
|
+
"default": "./macd.js"
|
|
112
|
+
},
|
|
113
|
+
"./momentum": {
|
|
114
|
+
"default": "./momentum.js"
|
|
115
|
+
},
|
|
116
|
+
"./moving-maximum": {
|
|
117
|
+
"default": "./moving-maximum.js"
|
|
118
|
+
},
|
|
119
|
+
"./moving-minimum": {
|
|
120
|
+
"default": "./moving-minimum.js"
|
|
121
|
+
},
|
|
122
|
+
"./mse": {
|
|
123
|
+
"default": "./mse.js"
|
|
124
|
+
},
|
|
125
|
+
"./roc": {
|
|
126
|
+
"default": "./roc.js"
|
|
127
|
+
},
|
|
128
|
+
"./rsi": {
|
|
129
|
+
"default": "./rsi.js"
|
|
130
|
+
},
|
|
131
|
+
"./sd": {
|
|
132
|
+
"default": "./sd.js"
|
|
133
|
+
},
|
|
134
|
+
"./sma": {
|
|
135
|
+
"default": "./sma.js"
|
|
136
|
+
},
|
|
137
|
+
"./stochastic": {
|
|
138
|
+
"default": "./stochastic.js"
|
|
139
|
+
},
|
|
140
|
+
"./trix": {
|
|
141
|
+
"default": "./trix.js"
|
|
142
|
+
},
|
|
143
|
+
"./wma": {
|
|
144
|
+
"default": "./wma.js"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"thi.ng": {
|
|
148
|
+
"parent": "@thi.ng/transducers",
|
|
149
|
+
"year": 2017
|
|
150
|
+
},
|
|
151
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
152
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
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
|
-
### [2.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.2.4) (2024-12-24)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- replace [@thi.ng/dcons](https://github.com/thi-ng/umbrella/tree/main/packages/dcons) dependency ([e9940ed](https://github.com/thi-ng/umbrella/commit/e9940ed))
|
|
19
|
-
- switch to use more lightweight & GC-friendly ringbuffer impl from [@thi.ng/buffers](https://github.com/thi-ng/umbrella/tree/main/packages/buffers)
|
|
20
|
-
- update the following transducers:
|
|
21
|
-
- `momentum()`
|
|
22
|
-
- `roc()`
|
|
23
|
-
- `sma()`
|
|
24
|
-
- add tests
|
|
25
|
-
|
|
26
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.2.0) (2024-11-03)
|
|
27
|
-
|
|
28
|
-
#### 🚀 Features
|
|
29
|
-
|
|
30
|
-
- add moving min/max, update donchian ([188d11a](https://github.com/thi-ng/umbrella/commit/188d11a))
|
|
31
|
-
- add movingMaximum() transducer
|
|
32
|
-
- add movingMinimum() transducer
|
|
33
|
-
- refactor donchian()
|
|
34
|
-
- add internal Deque helper class
|
|
35
|
-
- add tests
|
|
36
|
-
|
|
37
|
-
### [2.1.113](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.1.113) (2024-04-08)
|
|
38
|
-
|
|
39
|
-
#### ♻️ Refactoring
|
|
40
|
-
|
|
41
|
-
- update reducer handling due to updates in [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/main/packages/transducers) pkg ([25ef274](https://github.com/thi-ng/umbrella/commit/25ef274))
|
|
42
|
-
|
|
43
|
-
### [2.1.76](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-stats@2.1.76) (2023-11-09)
|
|
44
|
-
|
|
45
|
-
#### ♻️ Refactoring
|
|
46
|
-
|
|
47
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|