@thi.ng/text-canvas 3.0.55 → 3.0.56
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/CHANGELOG.md +1 -1
- package/api.d.ts +1 -1
- package/bars.d.ts +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/api.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface ImageOpts {
|
|
|
41
41
|
chars: string | NumOrString[];
|
|
42
42
|
/**
|
|
43
43
|
* Format to apply to each pixel. If a function is given, it will be called
|
|
44
|
-
* for each pixel value, normalized to [0
|
|
44
|
+
* for each pixel value, normalized to `[0,1]` interval (and after gamma
|
|
45
45
|
* correction). The function MUST return a valid format ID.
|
|
46
46
|
*/
|
|
47
47
|
format: number | FnN;
|
package/bars.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Visualizes given values (in `[min
|
|
2
|
+
* Visualizes given values (in `[min,max]` interval) as vertical bar chart.
|
|
3
3
|
* Returns array of line strings.
|
|
4
4
|
*
|
|
5
5
|
* @param height
|
|
@@ -18,7 +18,7 @@ export declare const barChartVLines: (height: number, vals: Iterable<number>, mi
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const barChartVStr: (height: number, vals: Iterable<number>, min?: number, max?: number) => string;
|
|
20
20
|
/**
|
|
21
|
-
* Visualizes given values (in `[min
|
|
21
|
+
* Visualizes given values (in `[min,max]` interval) as horizontal bar chart.
|
|
22
22
|
* Returns array of line strings.
|
|
23
23
|
*
|
|
24
24
|
* @param height
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/text-canvas",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.56",
|
|
4
4
|
"description": "Text based canvas, drawing, plotting, tables with arbitrary formatting (incl. ANSI/HTML)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/arrays": "^2.10.
|
|
44
|
-
"@thi.ng/checks": "^3.6.
|
|
45
|
-
"@thi.ng/errors": "^2.5.
|
|
46
|
-
"@thi.ng/geom-clip-line": "^2.3.
|
|
47
|
-
"@thi.ng/math": "^5.11.
|
|
48
|
-
"@thi.ng/strings": "^3.9.
|
|
49
|
-
"@thi.ng/text-format": "^2.2.
|
|
50
|
-
"@thi.ng/transducers": "^9.2.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/arrays": "^2.10.15",
|
|
44
|
+
"@thi.ng/checks": "^3.6.23",
|
|
45
|
+
"@thi.ng/errors": "^2.5.26",
|
|
46
|
+
"@thi.ng/geom-clip-line": "^2.3.122",
|
|
47
|
+
"@thi.ng/math": "^5.11.20",
|
|
48
|
+
"@thi.ng/strings": "^3.9.5",
|
|
49
|
+
"@thi.ng/text-format": "^2.2.25",
|
|
50
|
+
"@thi.ng/transducers": "^9.2.18"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"esbuild": "^0.
|
|
53
|
+
"esbuild": "^0.25.0",
|
|
54
54
|
"tslib": "^2.8.1",
|
|
55
|
-
"typedoc": "^0.27.
|
|
55
|
+
"typedoc": "^0.27.7",
|
|
56
56
|
"typescript": "^5.7.3"
|
|
57
57
|
},
|
|
58
58
|
"keywords": [
|
|
@@ -150,5 +150,5 @@
|
|
|
150
150
|
],
|
|
151
151
|
"year": 2020
|
|
152
152
|
},
|
|
153
|
-
"gitHead": "
|
|
153
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
154
154
|
}
|