@smockle/regression 3.0.3 → 4.0.0

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 (35) hide show
  1. package/LICENSE +21 -13
  2. package/README.md +14 -15
  3. package/dist/index.d.ts +53 -0
  4. package/dist/index.js +62 -0
  5. package/package.json +29 -40
  6. package/.editorconfig +0 -7
  7. package/.eslintrc.json +0 -6
  8. package/.flowconfig +0 -27
  9. package/.prettierignore +0 -1
  10. package/.travis.yml +0 -19
  11. package/appveyor.yml +0 -21
  12. package/flow-typed/npm/@smockle/matrix_vx.x.x.js +0 -192
  13. package/flow-typed/npm/@std/esm_vx.x.x.js +0 -32
  14. package/flow-typed/npm/codecov_vx.x.x.js +0 -276
  15. package/flow-typed/npm/colortape_vx.x.x.js +0 -80
  16. package/flow-typed/npm/eslint-config-standard_vx.x.x.js +0 -47
  17. package/flow-typed/npm/eslint-plugin-import_vx.x.x.js +0 -377
  18. package/flow-typed/npm/eslint-plugin-node_vx.x.x.js +0 -293
  19. package/flow-typed/npm/eslint-plugin-promise_vx.x.x.js +0 -170
  20. package/flow-typed/npm/eslint-plugin-standard_vx.x.x.js +0 -103
  21. package/flow-typed/npm/eslint_vx.x.x.js +0 -2401
  22. package/flow-typed/npm/flow-bin_v0.x.x.js +0 -6
  23. package/flow-typed/npm/flow-typed_vx.x.x.js +0 -193
  24. package/flow-typed/npm/husky_vx.x.x.js +0 -88
  25. package/flow-typed/npm/jsdoc-to-markdown_vx.x.x.js +0 -95
  26. package/flow-typed/npm/lint-staged_vx.x.x.js +0 -145
  27. package/flow-typed/npm/lodash_v4.x.x.js +0 -522
  28. package/flow-typed/npm/mathjs_vx.x.x.js +0 -6187
  29. package/flow-typed/npm/nyc_vx.x.x.js +0 -108
  30. package/flow-typed/npm/prettier-eslint-cli_vx.x.x.js +0 -78
  31. package/jsdoc.json +0 -6
  32. package/jsdoc2md/README.hbs +0 -32
  33. package/lib/regression.js +0 -3
  34. package/lib/regression.mjs +0 -93
  35. package/test/regression.mjs +0 -264
package/LICENSE CHANGED
@@ -1,13 +1,21 @@
1
- Copyright (c) 2016, Clay Miller
2
-
3
- Permission to use, copy, modify, and/or distribute this software for any
4
- purpose with or without fee is hereby granted, provided that the above
5
- copyright notice and this permission notice appear in all copies.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2016-2025 Clay Miller
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
@@ -1,9 +1,5 @@
1
1
  [![npm](https://img.shields.io/npm/v/@smockle/regression.svg)](https://www.npmjs.com/package/@smockle/regression)
2
- [![Build Status](https://travis-ci.org/smockle/regression.svg?branch=master)](https://travis-ci.org/smockle/regression)
3
- [![Build status](https://ci.appveyor.com/api/projects/status/x1sjhd5q1jv1eupd?svg=true)](https://ci.appveyor.com/project/smockle/regression)
4
2
  [![codecov](https://codecov.io/gh/smockle/regression/branch/master/graph/badge.svg)](https://codecov.io/gh/smockle/regression)
5
- [![Known Vulnerabilities](https://snyk.io/test/github/smockle/regression/badge.svg)](https://snyk.io/test/github/smockle/regression)
6
- [![Greenkeeper badge](https://badges.greenkeeper.io/smockle/regression.svg)](https://greenkeeper.io/)
7
3
 
8
4
  # regression
9
5
 
@@ -16,39 +12,42 @@ Run `npm install --save @smockle/regression` to add `regression` to your project
16
12
  ## Usage
17
13
 
18
14
  ```JavaScript
19
- const regression = require('@smockle/regression')
15
+ import Regression from '@smockle/regression'
20
16
  ```
21
17
 
22
18
  ## API Reference
23
19
 
24
- * [regression](#module_regression)
25
- * [Regression](#exp_module_regression--Regression) ⏏
26
- * [new Regression(X, Y)](#new_module_regression--Regression_new)
27
- * [.inspect()](#module_regression--Regression+inspect) ⇒ <code>string</code>
20
+ - [regression](#module_regression)
21
+ - [Regression](#exp_module_regression--Regression) ⏏
22
+ - [new Regression(X, Y)](#new_module_regression--Regression_new)
23
+ - [.inspect()](#module_regression--Regression+inspect) ⇒ <code>string</code>
28
24
 
29
25
  <a name="exp_module_regression--Regression"></a>
30
26
 
31
27
  ### Regression ⏏
28
+
32
29
  **Kind**: Exported class
33
30
  <a name="new_module_regression--Regression_new"></a>
34
31
 
35
32
  #### new Regression(X, Y)
33
+
36
34
  Estimate multiple linear regression fit using least squares
37
35
 
38
- **Returns**: <code>Regression</code> - Multiple linear regression
36
+ **Returns**: <code>Regression</code> - Multiple linear regression
39
37
 
40
- | Param | Type | Description |
41
- | --- | --- | --- |
42
- | X | <code>Matrix</code> | Input matrix |
43
- | Y | <code>Matrix</code> | Input matrix |
38
+ | Param | Type | Description |
39
+ | ----- | ------------------- | ------------ |
40
+ | X | <code>Matrix</code> | Input matrix |
41
+ | Y | <code>Matrix</code> | Input matrix |
44
42
 
45
43
  <a name="module_regression--Regression+inspect"></a>
46
44
 
47
45
  #### regression.inspect() ⇒ <code>string</code>
46
+
48
47
  Format and print this regression
49
48
 
50
49
  **Kind**: instance method of [<code>Regression</code>](#exp_module_regression--Regression)
51
- **Returns**: <code>string</code> - Regression results
50
+ **Returns**: <code>string</code> - Regression results
52
51
 
53
52
  ## Testing
54
53
 
@@ -0,0 +1,53 @@
1
+ /** @module regression */
2
+ import Matrix from "@smockle/matrix";
3
+ type Matrix2D = Extract<Matrix, {
4
+ __value: number[][];
5
+ }>;
6
+ type Regression = {
7
+ /** n observations */
8
+ n: number;
9
+ /** p factor terms */
10
+ p: number;
11
+ /** X Matrix */
12
+ X: Matrix2D;
13
+ /** Y Matrix */
14
+ Y: Matrix2D;
15
+ /** β coefficients factor terms */
16
+ B: Matrix2D;
17
+ /** fitted Y values */
18
+ fitted: number[][];
19
+ /** mean Y value */
20
+ mean: number;
21
+ /** residual Y values */
22
+ residuals: number[][];
23
+ /** SST total sum of squares */
24
+ SST: number;
25
+ /** SSE explained sum of squares */
26
+ SSE: number;
27
+ /** SSR residual sum of squares */
28
+ SSR: number;
29
+ /** R² coefficient of determination */
30
+ Rsquared: number;
31
+ /** adjusted R² */
32
+ Rsquaredadj: number;
33
+ /** standard error of regression */
34
+ stderr: number;
35
+ /** MSE mean standard error */
36
+ MSE: number;
37
+ /** variance matrix */
38
+ VAR: Matrix2D;
39
+ /** standard error matrix (diagonal of variance) */
40
+ STDERR: number[];
41
+ /** test statistic (significance) */
42
+ TSTAT: number[];
43
+ };
44
+ /**
45
+ * Estimate multiple linear regression fit using least squares
46
+ * @constructor
47
+ * @alias module:regression
48
+ * @param {number[][]} X - Input matrix
49
+ * @param {number[]} Y - Input matrix
50
+ * @return {Regression} Multiple linear regression
51
+ */
52
+ declare function Regression(X: number[][], Y: number[]): Regression;
53
+ export default Regression;
package/dist/index.js ADDED
@@ -0,0 +1,62 @@
1
+ /** @module regression */
2
+ import Matrix from "@smockle/matrix";
3
+ import { diag, format, mean, subtract } from "mathjs";
4
+ import { fill, unzip } from "lodash-es";
5
+ /**
6
+ * Estimate multiple linear regression fit using least squares
7
+ * @constructor
8
+ * @alias module:regression
9
+ * @param {number[][]} X - Input matrix
10
+ * @param {number[]} Y - Input matrix
11
+ * @return {Regression} Multiple linear regression
12
+ */
13
+ function Regression(X, Y) {
14
+ const r = Object.create(Regression.prototype);
15
+ r.n = X[0].length;
16
+ r.p = X.length;
17
+ r.X = Matrix([fill(Array(r.n), 1)].concat(X)).transpose();
18
+ r.Y = Matrix(Y).transpose();
19
+ r.B = Matrix.multiply(Matrix.multiply(r.X.transpose(), r.X).invert(), Matrix.multiply(r.X.transpose(), r.Y));
20
+ r.fitted = Matrix.multiply(r.X, r.B).__value;
21
+ r.mean = mean(r.Y.__value);
22
+ r.residuals = subtract(r.Y.__value, r.fitted);
23
+ r.SST = r.Y.__value.reduce((xs, y) => xs + Math.pow(y[0] - r.mean, 2), 0);
24
+ r.SSE = r.fitted.reduce((xs, _fitted) => xs + Math.pow(_fitted[0] - r.mean, 2), 0);
25
+ r.SSR = r.Y.__value.reduce((xs, y, i) => xs + Math.pow(y[0] - r.fitted[i][0], 2), 0);
26
+ r.Rsquared = r.SSE / r.SST;
27
+ r.Rsquaredadj = r.Rsquared - ((1 - r.Rsquared) * (r.p - 1)) / (r.n - r.p);
28
+ r.stderr = Math.sqrt(r.residuals.reduce((xs, residual) => xs + Math.pow(residual[0], 2), 0) /
29
+ (r.n - r.p - 1));
30
+ r.MSE = Math.sqrt(r.fitted.reduce((xs, _fitted, i) => xs + Math.pow(_fitted[0] - r.Y.__value[i][0], 2), 0) /
31
+ (r.n - 2));
32
+ r.VAR = Matrix(Matrix.multiply(r.X.transpose(), r.X)
33
+ .invert()
34
+ .__value.map((x) => x.map((y) => y * r.MSE)));
35
+ r.STDERR = Array.from(diag(r.VAR.__value)).map((x) => Math.sqrt(x));
36
+ r.TSTAT = r.STDERR.map((err, i) => r.B.__value[i][0] / err);
37
+ return r;
38
+ }
39
+ /**
40
+ * Format and print this regression
41
+ * @alias module:regression#inspect
42
+ * @return {string} Regression results
43
+ */
44
+ Regression.prototype[Symbol.for("nodejs.util.inspect.custom")] =
45
+ function () {
46
+ var output = "";
47
+ output += format(this.Rsquared, (x) => `R²: ${(x * 100).toFixed(2)}%\n`);
48
+ output += format(this.Rsquaredadj, (x) => `Adj R²: ${(x * 100).toFixed(2)}%\n`);
49
+ output += format(this.stderr, (x) => `Std Err: ${x.toFixed(2)}\n\n`);
50
+ const labels = ["y"].concat(fill(Array(this.B.__value.length - 1), "x"));
51
+ unzip([unzip(this.B.__value)[0], this.TSTAT]).forEach((x, i) => {
52
+ output += `${labels[i]}${labels[i] === "y" ? "" : i}: ${format(x[0], {
53
+ notation: "fixed",
54
+ precision: 2,
55
+ })} (t-stat ${format(x[1], {
56
+ notation: "fixed",
57
+ precision: 2,
58
+ })})${i === this.B.__value.length - 1 ? "" : "\n"}`;
59
+ });
60
+ return output;
61
+ };
62
+ export default Regression;
package/package.json CHANGED
@@ -1,58 +1,47 @@
1
1
  {
2
2
  "name": "@smockle/regression",
3
- "version": "3.0.3",
3
+ "version": "4.0.0",
4
4
  "description": "Estimate multiple linear regression fit using least squares",
5
- "main": "lib/regression.js",
6
- "module": "lib/regression.mjs",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
7
  "scripts": {
8
- "debug": "node --nolazy --inspect-brk=5858 -r @std/esm test/regression.mjs",
9
- "docs": "jsdoc2md lib/regression.mjs --configure jsdoc.json --template jsdoc2md/README.hbs --example-lang JavaScript > README.md",
10
- "test": "node -r @std/esm test/regression.mjs | colortape",
11
- "coverage": "nyc --require @std/esm --extension .mjs --reporter=lcov node test/regression.mjs | colortape",
12
- "postcoverage": "nyc report",
13
- "prepublishOnly": "npm test",
14
- "precommit": "lint-staged"
8
+ "build": "tsc",
9
+ "test": "NODE_OPTIONS='--no-warnings=ExperimentalWarning --experimental-vm-modules' npx jest"
15
10
  },
16
11
  "repository": {
17
12
  "type": "git",
18
13
  "url": "git+https://github.com/smockle/regression.git"
19
14
  },
20
15
  "author": "Clay Miller <clay@smockle.com> (https://smockle.com)",
21
- "license": "ISC",
16
+ "license": "MIT",
22
17
  "bugs": {
23
18
  "url": "https://github.com/smockle/regression/issues"
24
19
  },
25
20
  "homepage": "https://github.com/smockle/regression#readme",
26
- "devDependencies": {
27
- "codecov": "^3.0.0",
28
- "colortape": "^0.1.2",
29
- "eslint": "^4.1.0",
30
- "eslint-config-standard": "^10.0.0",
31
- "eslint-plugin-import": "^2.2.0",
32
- "eslint-plugin-node": "^5.0.0",
33
- "eslint-plugin-promise": "^3.5.0",
34
- "eslint-plugin-standard": "^3.0.0",
35
- "flow-bin": "^0.61.0",
36
- "flow-typed": "^2.1.5",
37
- "husky": "^0.14.0",
38
- "jsdoc-to-markdown": "^3.0.0",
39
- "lint-staged": "^6.0.0",
40
- "nyc": "^11.0.2",
41
- "prettier-eslint-cli": "^4.3.0"
42
- },
43
- "lint-staged": {
44
- "*.{js,mjs}": [
45
- "./node_modules/.bin/prettier-eslint --write",
46
- "git add"
47
- ]
21
+ "dependencies": {
22
+ "@smockle/matrix": "^5.0.2",
23
+ "lodash-es": "^4.17.21",
24
+ "mathjs": "^14.0.1"
48
25
  },
49
- "@std/esm": {
50
- "cjs": true
26
+ "devDependencies": {
27
+ "@types/lodash-es": "^4.17.12",
28
+ "jest": "^29.7.0",
29
+ "ts-jest": "^29.1.1",
30
+ "typescript": "^5.2.2"
51
31
  },
52
- "dependencies": {
53
- "@smockle/matrix": "^3.0.5",
54
- "@std/esm": "^0.18.0",
55
- "lodash": "^4.17.4",
56
- "mathjs": "^3.18.0"
32
+ "jest": {
33
+ "preset": "ts-jest/presets/default-esm",
34
+ "collectCoverage": true,
35
+ "extensionsToTreatAsEsm": [
36
+ ".ts"
37
+ ],
38
+ "roots": [
39
+ "<rootDir>/src"
40
+ ],
41
+ "testRegex": "\\.test\\.ts$",
42
+ "moduleNameMapper": {
43
+ "^(\\.{1,2}/.*)\\.js$": "$1",
44
+ "^@/(.*)\\.js$": "<rootDir>/src/$1"
45
+ }
57
46
  }
58
47
  }
package/.editorconfig DELETED
@@ -1,7 +0,0 @@
1
- # top-most EditorConfig file
2
- root = true
3
-
4
- # Unix-style newlines with a newline ending every file
5
- [*]
6
- end_of_line = lf
7
- insert_final_newline = true
package/.eslintrc.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "standard",
3
- "rules": {
4
- "no-global-assign": ["error", { "exceptions": ["require"] }]
5
- }
6
- }
package/.flowconfig DELETED
@@ -1,27 +0,0 @@
1
- [ignore]
2
-
3
- [include]
4
-
5
- [libs]
6
-
7
- [options]
8
- # Run Flow on .js, .mjs, .jsx, .json files
9
- module.file_ext=.js
10
- module.file_ext=.mjs
11
- module.file_ext=.jsx
12
- module.file_ext=.json
13
-
14
- # Use the Node.js module system to resolve `import` and `require`
15
- module.system=node
16
-
17
- # Allow static class fields
18
- esproposal.class_static_fields=enable
19
-
20
- # Allow instance class fields
21
- esproposal.class_instance_fields=enable
22
-
23
- # Treat underscore-prefixed class properties and methods as private
24
- munge_underscores=true
25
-
26
- # Ignore next line with /* @flow disable */ magic comment
27
- suppress_comment= \\(.\\|\n\\)*\\@flow disable
package/.prettierignore DELETED
@@ -1 +0,0 @@
1
- package.json
package/.travis.yml DELETED
@@ -1,19 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - '8'
4
- - '6'
5
- notifications:
6
- email:
7
- on_success: change
8
- on_failure: always
9
- before_install:
10
- - npm install -g greenkeeper-lockfile@1
11
- before_script:
12
- - greenkeeper-lockfile-update
13
- after_script:
14
- - greenkeeper-lockfile-upload
15
- - npm run coverage
16
- - codecov
17
- env:
18
- global:
19
- - secure: RtjhtDZlPB+lB85Gyk/4nm4ksTXY+TqRfAljSYs8ADeV9HqcgzR9lOL76SXLSAFmlybxLClVJ8LDMVepDcVRaYVKIVui47kM0q9+PeritnC2c4XDBtSp+ZRqJXD+gZb/+bn0X09FB84TGqx8IriTN+cbCTVHn3vEATemUX/qhr8ZrUkVwpT5AfmzIjlYfXVd2RP2ihE8fjg43/3xVpOMUi1VcqzTN5hOZfn5Rv/5q2CP75b8SliDGRPuF3Hb1rIsl83a/er0dcte0qCeVVR8K7oOBhueOuiG+7nUBtXdmwg4KeMUbmgUiIJrNmudyJhqJdgYnlBp9NLazJy6/cPIcSMnzX2T7QvOGIQnRK0QCHmBacg3qlaQH2aJ6RHT3fBawWyeyFupl6Fhupgw93sMTxMRoXesYUp219lOYeW5P9RuK+9cClxZdfHKiU3BOhQXxPck1CbgjILe6IgTvJJQFv0xBOINBzVOueS5VvRuzxKBHsbcRXUAuxrhoGCvYF0GKVGEkF7zx9F96L2XXMm6BTx9boxohrmZr1jTTWVA5TGlraFm54EHBsbGYwKd2EgRkuwPqvKXwX8SjFkQ8bDWRGMDVBNnaD+xiHzFrgaPg0mxUVWYgMTRxYTy3RUDSS6jFdrZiKXTx7B9PAti1ePpjCBjvbbeLeWFWeCBuz4GC2M=
package/appveyor.yml DELETED
@@ -1,21 +0,0 @@
1
- # scripts that are called at very beginning, before repo cloning
2
- init:
3
- - git config --global core.autocrlf input
4
-
5
- # scripts that run after cloning repository
6
- install:
7
- # Install node 8
8
- - ps: Install-Product node 8
9
- # install modules
10
- - npm install
11
-
12
- # to run your custom scripts instead of automatic tests
13
- test_script:
14
- # Output useful info for debugging.
15
- - node --version
16
- - npm --version
17
- # run tests
18
- - npm test
19
-
20
- # Don't build with msbuild.
21
- build: off
@@ -1,192 +0,0 @@
1
- // flow-typed signature: fdccf8737e1a981963556f8684b782bd
2
- // flow-typed version: <<STUB>>/@smockle/matrix_v^3.0.3/flow_v0.53.1
3
-
4
- /**
5
- * This is an autogenerated libdef stub for:
6
- *
7
- * '@smockle/matrix'
8
- *
9
- * Fill this stub out by replacing all the `any` types.
10
- *
11
- * Once filled out, we encourage you to share your work with the
12
- * community by sending a pull request to:
13
- * https://github.com/flowtype/flow-typed
14
- */
15
-
16
- declare module '@smockle/matrix' {
17
- declare module.exports: any
18
- }
19
-
20
- /**
21
- * We include stubs for each file inside this npm package in case you need to
22
- * require those files directly. Feel free to delete any files that aren't
23
- * needed.
24
- */
25
- declare module '@smockle/matrix/flow-typed/npm/@std/esm_vx.x.x' {
26
- declare module.exports: any
27
- }
28
-
29
- declare module '@smockle/matrix/flow-typed/npm/codecov_vx.x.x' {
30
- declare module.exports: any
31
- }
32
-
33
- declare module '@smockle/matrix/flow-typed/npm/colortape_vx.x.x' {
34
- declare module.exports: any
35
- }
36
-
37
- declare module '@smockle/matrix/flow-typed/npm/eslint_vx.x.x' {
38
- declare module.exports: any
39
- }
40
-
41
- declare module '@smockle/matrix/flow-typed/npm/eslint-config-standard_vx.x.x' {
42
- declare module.exports: any
43
- }
44
-
45
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-import_vx.x.x' {
46
- declare module.exports: any
47
- }
48
-
49
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-node_vx.x.x' {
50
- declare module.exports: any
51
- }
52
-
53
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-promise_vx.x.x' {
54
- declare module.exports: any
55
- }
56
-
57
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-standard_vx.x.x' {
58
- declare module.exports: any
59
- }
60
-
61
- declare module '@smockle/matrix/flow-typed/npm/flow-bin_v0.x.x' {
62
- declare module.exports: any
63
- }
64
-
65
- declare module '@smockle/matrix/flow-typed/npm/flow-typed_vx.x.x' {
66
- declare module.exports: any
67
- }
68
-
69
- declare module '@smockle/matrix/flow-typed/npm/husky_vx.x.x' {
70
- declare module.exports: any
71
- }
72
-
73
- declare module '@smockle/matrix/flow-typed/npm/jsdoc-to-markdown_vx.x.x' {
74
- declare module.exports: any
75
- }
76
-
77
- declare module '@smockle/matrix/flow-typed/npm/lint-staged_vx.x.x' {
78
- declare module.exports: any
79
- }
80
-
81
- declare module '@smockle/matrix/flow-typed/npm/lodash_v4.x.x' {
82
- declare module.exports: any
83
- }
84
-
85
- declare module '@smockle/matrix/flow-typed/npm/mathjs_vx.x.x' {
86
- declare module.exports: any
87
- }
88
-
89
- declare module '@smockle/matrix/flow-typed/npm/nyc_vx.x.x' {
90
- declare module.exports: any
91
- }
92
-
93
- declare module '@smockle/matrix/flow-typed/npm/prettier-eslint-cli_vx.x.x' {
94
- declare module.exports: any
95
- }
96
-
97
- declare module '@smockle/matrix/lib/matrix' {
98
- declare module.exports: any
99
- }
100
-
101
- // Filename aliases
102
- declare module '@smockle/matrix/flow-typed/npm/@std/esm_vx.x.x.js' {
103
- declare module.exports: $Exports<
104
- '@smockle/matrix/flow-typed/npm/@std/esm_vx.x.x'
105
- >
106
- }
107
- declare module '@smockle/matrix/flow-typed/npm/codecov_vx.x.x.js' {
108
- declare module.exports: $Exports<
109
- '@smockle/matrix/flow-typed/npm/codecov_vx.x.x'
110
- >
111
- }
112
- declare module '@smockle/matrix/flow-typed/npm/colortape_vx.x.x.js' {
113
- declare module.exports: $Exports<
114
- '@smockle/matrix/flow-typed/npm/colortape_vx.x.x'
115
- >
116
- }
117
- declare module '@smockle/matrix/flow-typed/npm/eslint_vx.x.x.js' {
118
- declare module.exports: $Exports<
119
- '@smockle/matrix/flow-typed/npm/eslint_vx.x.x'
120
- >
121
- }
122
- declare module '@smockle/matrix/flow-typed/npm/eslint-config-standard_vx.x.x.js' {
123
- declare module.exports: $Exports<
124
- '@smockle/matrix/flow-typed/npm/eslint-config-standard_vx.x.x'
125
- >
126
- }
127
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-import_vx.x.x.js' {
128
- declare module.exports: $Exports<
129
- '@smockle/matrix/flow-typed/npm/eslint-plugin-import_vx.x.x'
130
- >
131
- }
132
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-node_vx.x.x.js' {
133
- declare module.exports: $Exports<
134
- '@smockle/matrix/flow-typed/npm/eslint-plugin-node_vx.x.x'
135
- >
136
- }
137
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-promise_vx.x.x.js' {
138
- declare module.exports: $Exports<
139
- '@smockle/matrix/flow-typed/npm/eslint-plugin-promise_vx.x.x'
140
- >
141
- }
142
- declare module '@smockle/matrix/flow-typed/npm/eslint-plugin-standard_vx.x.x.js' {
143
- declare module.exports: $Exports<
144
- '@smockle/matrix/flow-typed/npm/eslint-plugin-standard_vx.x.x'
145
- >
146
- }
147
- declare module '@smockle/matrix/flow-typed/npm/flow-bin_v0.x.x.js' {
148
- declare module.exports: $Exports<
149
- '@smockle/matrix/flow-typed/npm/flow-bin_v0.x.x'
150
- >
151
- }
152
- declare module '@smockle/matrix/flow-typed/npm/flow-typed_vx.x.x.js' {
153
- declare module.exports: $Exports<
154
- '@smockle/matrix/flow-typed/npm/flow-typed_vx.x.x'
155
- >
156
- }
157
- declare module '@smockle/matrix/flow-typed/npm/husky_vx.x.x.js' {
158
- declare module.exports: $Exports<
159
- '@smockle/matrix/flow-typed/npm/husky_vx.x.x'
160
- >
161
- }
162
- declare module '@smockle/matrix/flow-typed/npm/jsdoc-to-markdown_vx.x.x.js' {
163
- declare module.exports: $Exports<
164
- '@smockle/matrix/flow-typed/npm/jsdoc-to-markdown_vx.x.x'
165
- >
166
- }
167
- declare module '@smockle/matrix/flow-typed/npm/lint-staged_vx.x.x.js' {
168
- declare module.exports: $Exports<
169
- '@smockle/matrix/flow-typed/npm/lint-staged_vx.x.x'
170
- >
171
- }
172
- declare module '@smockle/matrix/flow-typed/npm/lodash_v4.x.x.js' {
173
- declare module.exports: $Exports<
174
- '@smockle/matrix/flow-typed/npm/lodash_v4.x.x'
175
- >
176
- }
177
- declare module '@smockle/matrix/flow-typed/npm/mathjs_vx.x.x.js' {
178
- declare module.exports: $Exports<
179
- '@smockle/matrix/flow-typed/npm/mathjs_vx.x.x'
180
- >
181
- }
182
- declare module '@smockle/matrix/flow-typed/npm/nyc_vx.x.x.js' {
183
- declare module.exports: $Exports<'@smockle/matrix/flow-typed/npm/nyc_vx.x.x'>
184
- }
185
- declare module '@smockle/matrix/flow-typed/npm/prettier-eslint-cli_vx.x.x.js' {
186
- declare module.exports: $Exports<
187
- '@smockle/matrix/flow-typed/npm/prettier-eslint-cli_vx.x.x'
188
- >
189
- }
190
- declare module '@smockle/matrix/lib/matrix.js' {
191
- declare module.exports: $Exports<'@smockle/matrix/lib/matrix'>
192
- }
@@ -1,32 +0,0 @@
1
- // flow-typed signature: 1a1a5f7378a3eb94c91b140831760eab
2
- // flow-typed version: <<STUB>>/@std/esm_v^0.5.1/flow_v0.53.1
3
-
4
- /**
5
- * This is an autogenerated libdef stub for:
6
- *
7
- * '@std/esm'
8
- *
9
- * Fill this stub out by replacing all the `any` types.
10
- *
11
- * Once filled out, we encourage you to share your work with the
12
- * community by sending a pull request to:
13
- * https://github.com/flowtype/flow-typed
14
- */
15
-
16
- declare module '@std/esm' {
17
- declare module.exports: any
18
- }
19
-
20
- /**
21
- * We include stubs for each file inside this npm package in case you need to
22
- * require those files directly. Feel free to delete any files that aren't
23
- * needed.
24
- */
25
-
26
- // Filename aliases
27
- declare module '@std/esm/index' {
28
- declare module.exports: $Exports<'@std/esm'>
29
- }
30
- declare module '@std/esm/index.js' {
31
- declare module.exports: $Exports<'@std/esm'>
32
- }