@enslo/sd-metadata 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # sd-metadata
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@enslo/sd-metadata.svg)](https://www.npmjs.com/package/@enslo/sd-metadata)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@enslo/sd-metadata.svg)](https://www.npmjs.com/package/@enslo/sd-metadata)
5
+ [![license](https://img.shields.io/npm/l/@enslo/sd-metadata.svg)](https://github.com/enslo/sd-metadata/blob/main/LICENSE)
6
+
3
7
  A TypeScript library to read and write metadata embedded in AI-generated images.
4
8
 
5
9
  ## Features
@@ -43,7 +47,7 @@ npm install @enslo/sd-metadata
43
47
 
44
48
  > [!NOTE]
45
49
  > \* Tools with known limitations. See [Known Limitations](#known-limitations) for details.
46
- >
50
+
47
51
  > [!TIP]
48
52
  > **Help us expand tool support!** We're actively collecting sample images from experimental tools (Easy Diffusion, Fooocus) and unsupported tools. If you have sample images generated by these or other AI tools, please consider contributing them! See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
49
53
 
@@ -218,10 +222,10 @@ Writes metadata to an image file.
218
222
 
219
223
  > [!WARNING]
220
224
  > **ComfyUI JPEG/WebP**: While reading supports major custom node formats (e.g., `save-image-extended`), writing always uses the `comfyui-saveimage-plus` format. This format provides the best information preservation and is compatible with ComfyUI's native drag-and-drop workflow loading.
221
- >
225
+
222
226
  > [!WARNING]
223
227
  > **NovelAI WebP**: Auto-corrects corrupted UTF-8 in the Description field, which means WebP → PNG → WebP round-trip is not content-equivalent (but provides valid, readable metadata).
224
- >
228
+
225
229
  > [!WARNING]
226
230
  > **SwarmUI PNG→JPEG/WebP**: PNG files contain both ComfyUI workflow and SwarmUI parameters. When converting to JPEG/WebP, only parameters are preserved to match the native format. Metadata is fully preserved, but the ComfyUI workflow in the `prompt` chunk is lost.
227
231
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enslo/sd-metadata",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Read and write AI-generated image metadata",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "bugs": {
47
47
  "url": "https://github.com/enslo/sd-metadata/issues"
48
48
  },
49
- "homepage": "https://github.com/enslo/sd-metadata#readme",
49
+ "homepage": "https://sd-metadata.pages.dev/",
50
50
  "devDependencies": {
51
51
  "@biomejs/biome": "^1.9.4",
52
52
  "@types/node": "^25.0.3",