regressio 1.1.0 → 1.1.2
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/LICENSE +21 -0
- package/README.md +15 -0
- package/dist/index.cjs +189 -190
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +156 -171
- package/dist/regressio_wasm_bg-5tapzraw.wasm +0 -0
- package/dist/shared/{chunk-b83k8bdn.js → chunk-p1j3h9jr.js} +23 -27
- package/package.json +17 -6
- package/dist/regressio_wasm_bg-zc1d7yka.wasm +0 -0
- package/dist/shared/chunk-xv8z2kms.js +0 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Maxime Golfier
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Zero-dependency TypeScript regression, classification & statistics library with full statistical outputs, diagnostics, and preprocessing. Ships with an optional Rust/WASM engine for accelerated linear algebra.
|
|
4
4
|
|
|
5
|
+
[Open the live browser proof suite](https://maxgfr.github.io/regressio/) to run all 36 public exports against synthetic datasets, inspect fitted traces and diagnostics, and confirm the WebAssembly engine is active.
|
|
6
|
+
|
|
5
7
|
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -329,6 +331,19 @@ The pre-built WASM binary is included in the package. To rebuild from Rust sourc
|
|
|
329
331
|
bun run build:wasm
|
|
330
332
|
```
|
|
331
333
|
|
|
334
|
+
## Browser proof suite
|
|
335
|
+
|
|
336
|
+
The site in [`site/`](site/) is a Vite application that runs regressio in a Web Worker. Its scenario registry covers every runtime export and every declared public class method. The generated charts and values come from the library itself; no result is hard-coded.
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
bun run dev:site # local development
|
|
340
|
+
bun run build:site # production output in site-dist/
|
|
341
|
+
bun run test:site # export and public-method coverage
|
|
342
|
+
bun run test:e2e # Chromium + mobile WebKit, WASM + fallback
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
GitHub Pages is deployed from `.github/workflows/pages.yml` after the unit, browser, and accessibility checks pass.
|
|
346
|
+
|
|
332
347
|
## License
|
|
333
348
|
|
|
334
349
|
MIT
|