{"_id":"@affectively/wasm-image-utils","_rev":"4-47fb20a5326ba097b7700a7d9bb9f521","name":"@affectively/wasm-image-utils","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"@affectively/wasm-image-utils","version":"1.0.0","keywords":["wasm","webassembly","image","base64","validation","rust"],"author":{"name":"AFFECTIVELY","email":"opensource@affectively.app"},"license":"MIT","_id":"@affectively/wasm-image-utils@1.0.0","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"homepage":"https://github.com/affectively-ai/wasm-image-utils#readme","bugs":{"url":"https://github.com/affectively-ai/wasm-image-utils/issues"},"dist":{"shasum":"e4611f56365bbc002d1210d2ee4b9786b639bbde","tarball":"https://registry.npmjs.org/@affectively/wasm-image-utils/-/wasm-image-utils-1.0.0.tgz","fileCount":8,"integrity":"sha512-Z63pBGRUyKxwlrr6g+hp6lWIjbYk5xEFiKIlEhK2bJXnQWT7s/RIlZ3it2MJucGTa5KFga7CJ5QtnE8/9QXVbg==","signatures":[{"sig":"MEUCIQCRQwSzVrN8wYwgpBpOO0vVccA+sHVBE0g/GbgMSPcFkwIgbyAHw9X1AjiNvt18F7nFbw5DtVYVt+YOe8DsPR3Wsd4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8512},"main":"pkg/wasm_image_utils.js","types":"pkg/wasm_image_utils.d.ts","gitHead":"e8fd2bd3b642161c67a84c18b60dfcc0d7cd0cbd","scripts":{"test":"cargo test","build":"wasm-pack build --target web --out-dir pkg","build:node":"wasm-pack build --target nodejs --out-dir pkg-node"},"_npmUser":{"name":"buley","email":"buley@outlook.com"},"repository":{"url":"git+https://github.com/affectively-ai/wasm-image-utils.git","type":"git"},"_npmVersion":"11.6.2","description":"High-performance WebAssembly image utilities - Base64 encoding/decoding, validation, format detection.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasm-image-utils_1.0.0_1768339332067_0.7495144254205428","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated and no longer supported. Do not use."},"1.0.1":{"name":"@affectively/wasm-image-utils","version":"1.0.1","keywords":["wasm","webassembly","image","base64","validation","rust"],"author":{"name":"AFFECTIVELY","email":"opensource@affectively.ai"},"license":"MIT","_id":"@affectively/wasm-image-utils@1.0.1","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"homepage":"https://github.com/affectively-ai/wasm-image-utils#readme","bugs":{"url":"https://github.com/affectively-ai/wasm-image-utils/issues"},"dist":{"shasum":"8000a6e0e180f4cb3ba4dd4aedc1a8fc5bdb17da","tarball":"https://registry.npmjs.org/@affectively/wasm-image-utils/-/wasm-image-utils-1.0.1.tgz","fileCount":8,"integrity":"sha512-VECApaS7lqECdqJU22lnsadax/+sgKTTonZgKV+x5ogoFE1HGg8QGcZoWqF8146w0DiH4VKVPbyGk9bMFOLoMQ==","signatures":[{"sig":"MEUCIQCyEU4UEOTebbd8N/OG6UOJ2By3oY8RjqIM4sf3SCTiaAIgeuY/Tw2S9+AA2TtG8Q8V4kj2djsfJ+40VoXxQwhQySA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8508},"main":"pkg/wasm_image_utils.js","types":"pkg/wasm_image_utils.d.ts","gitHead":"b1c08bcc071705da6d5d63bcf8616a0d79a364fe","scripts":{"test":"cargo test","build":"wasm-pack build --target web --out-dir pkg","build:node":"wasm-pack build --target nodejs --out-dir pkg-node"},"_npmUser":{"name":"buley","email":"buley@outlook.com"},"repository":{"url":"git+https://github.com/affectively-ai/wasm-image-utils.git","type":"git"},"_npmVersion":"11.6.2","description":"High-performance WebAssembly image utilities - Base64 encoding/decoding, validation, format detection.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasm-image-utils_1.0.1_1768341079472_0.15103313837330412","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated and no longer supported. Do not use."},"5.0.0":{"name":"@affectively/wasm-image-utils","version":"5.0.0","keywords":["wasm","webassembly","image","base64","validation","rust"],"author":{"name":"AFFECTIVELY","email":"opensource@affectively.ai"},"license":"UNLICENSED","_id":"@affectively/wasm-image-utils@5.0.0","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"homepage":"https://github.com/affectively-ai/wasm-image-utils#readme","bugs":{"url":"https://github.com/affectively-ai/wasm-image-utils/issues"},"dist":{"shasum":"080d680cda4d739a3d587baab3ea347e24b1cbe5","tarball":"https://registry.npmjs.org/@affectively/wasm-image-utils/-/wasm-image-utils-5.0.0.tgz","fileCount":8,"integrity":"sha512-EIqqV2r/299Dx/xNCL/IxYjiD/GjaoXcUFu2t5/IRd2aDOhVTmfJvdmwj5pWoJAvAc2uRG2hQnUMmi+E6tk7oA==","signatures":[{"sig":"MEYCIQCiIqOmJMkNa7B88v8Us9qiyAVaTtbheKVtcgxq930EDwIhALShyGTY/EFAojj7mVhVUHN0PuSwUlDr/CPiw06KrPCk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13678},"main":"pkg/wasm_image_utils.js","types":"pkg/wasm_image_utils.d.ts","scripts":{"test":"cargo test","build":"wasm-pack build --target web --out-dir pkg","build:node":"wasm-pack build --target nodejs --out-dir pkg-node"},"_npmUser":{"name":"buley","email":"buley@outlook.com"},"repository":{"url":"git+https://github.com/affectively-ai/wasm-image-utils.git","type":"git"},"_npmVersion":"11.8.0","description":"High-performance WebAssembly image utilities - Base64 encoding/decoding, validation, format detection.","directories":{},"_nodeVersion":"25.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasm-image-utils_5.0.0_1773156321885_0.25631775532432055","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated and no longer supported. Do not use."}},"time":{"created":"2026-01-13T21:22:11.992Z","modified":"2026-03-27T20:05:07.701Z","1.0.0":"2026-01-13T21:22:12.215Z","1.0.1":"2026-01-13T21:51:19.634Z","5.0.0":"2026-03-10T15:25:22.032Z"},"bugs":{"url":"https://github.com/affectively-ai/wasm-image-utils/issues"},"author":{"name":"AFFECTIVELY","email":"opensource@affectively.ai"},"license":"UNLICENSED","homepage":"https://github.com/affectively-ai/wasm-image-utils#readme","keywords":["wasm","webassembly","image","base64","validation","rust"],"repository":{"url":"git+https://github.com/affectively-ai/wasm-image-utils.git","type":"git"},"description":"High-performance WebAssembly image utilities - Base64 encoding/decoding, validation, format detection.","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"readme":"# @affectively/wasm-image-utils\r\n\r\nHigh-performance WebAssembly image utilities written in Rust.\r\n\r\n[![npm](https://img.shields.io/npm/v/@affectively/wasm-image-utils.svg)](https://www.npmjs.com/package/@affectively/wasm-image-utils)\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n\r\n## Features\r\n\r\n- **Base64 Encoding/Decoding** - Fast Base64 operations for images\r\n- **Format Detection** - Detect image format from magic bytes\r\n- **Validation** - Validate image data integrity\r\n- **Dimension Extraction** - Get width/height from image headers\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @affectively/wasm-image-utils\r\n```\r\n\r\n## Quick Start\r\n\r\n```typescript\r\nimport init, { encode_base64, decode_base64, detect_format } from '@affectively/wasm-image-utils';\r\n\r\nawait init();\r\n\r\nconst base64 = encode_base64(imageBytes);\r\nconst bytes = decode_base64(base64String);\r\nconst format = detect_format(imageBytes); // \"png\", \"jpeg\", \"gif\", etc.\r\n```\r\n\r\n## License\r\n\r\nMIT License\r\n\r\n---\r\n\r\nMade with ️ by [AFFECTIVELY](https://affectively.ai)\r\n","readmeFilename":"README.md"}