edge64 0.0.2 → 0.0.3
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/README.md +6 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -31,9 +31,13 @@ const uri = bytesToDataUri(bytes);
|
|
|
31
31
|
- `base64ToBytes(input)` — accepts a raw base64 string or a full data URI, returns `Uint8Array`.
|
|
32
32
|
- `bytesToDataUri(bytes, mimeHint?)` — builds a data URI, sniffing the MIME type if not provided.
|
|
33
33
|
|
|
34
|
-
##
|
|
34
|
+
## Supported formats
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
PNG, JPEG, GIF, WebP, AVIF — detected from magic bytes, not file extensions.
|
|
37
|
+
|
|
38
|
+
## Docs
|
|
39
|
+
|
|
40
|
+
Full documentation: https://docs.proflare.dev/npm/edge-64/
|
|
37
41
|
|
|
38
42
|
## License
|
|
39
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edge64",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Edge/Workers-native base64 <-> image conversion using fetch, with magic-byte MIME sniffing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "ProFlare",
|
|
23
|
+
"homepage": "https://docs.proflare.dev/npm/edge-64/",
|
|
23
24
|
"repository": {
|
|
24
25
|
"type": "git",
|
|
25
26
|
"url": "git+https://github.com/darkflareplays8/edge-64.git"
|