@thi.ng/text-format-image 0.1.0 → 0.1.1
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/iterm.d.ts +2 -1
- package/package.json +5 -5
package/iterm.d.ts
CHANGED
|
@@ -40,7 +40,8 @@ export declare const iTermImageStringFromIntBuffer: (src: IntBufferLike, opts?:
|
|
|
40
40
|
* const src = readFileSync("assets/examples/zig-cellular.jpg");
|
|
41
41
|
*
|
|
42
42
|
* // convert to image string to show image at 200px width
|
|
43
|
-
*
|
|
43
|
+
* // example will only work in terminals supporting the iTerm image format
|
|
44
|
+
* console.log(iTermImageStringFromBinary(src, { width: "400px" }));
|
|
44
45
|
* ```
|
|
45
46
|
*
|
|
46
47
|
* @param src
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/text-format-image",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Bitmap image formatting for CLI/Terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/imago": "^1.5.
|
|
42
|
+
"@thi.ng/imago": "^1.5.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"esbuild": "^0.27.
|
|
46
|
-
"typedoc": "^0.28.
|
|
45
|
+
"esbuild": "^0.27.2",
|
|
46
|
+
"typedoc": "^0.28.16",
|
|
47
47
|
"typescript": "^5.9.3"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"status": "alpha",
|
|
88
88
|
"year": 2025
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "828ec2e9ffde7307231b03cff46598c0915b1857\n"
|
|
91
91
|
}
|