cjxl
v1.0.0
Published
Cross-platform JXL encoder wrapper using cjxl binaries
Readme
cjxl
Cross-platform JPEG XL encoder wrapper using precompiled cjxl binaries.
No install required. Works out-of-the-box on Linux, macOS, and Windows.
✅ Features
- 🖼️ Convert
.jpg,.jpeg,.png→.jxl - 💻 Bundled binaries for all platforms (Window, Linux, Macos)
- ⚡ Fast native performance
- ❌ No external dependencies or system install needed
📦 Installation
npm install cjxl-wrapper🧪 Example Usage
// Import the wrapper
const encodeJXL = require("cjxl-wrapper");
// Encode a JPEG image to JPEG XL format
await encodeJXL("input.jpg", "output.jxl", 85);🏁 Created by turbokit.io
This library is built and maintained by the creators of TurboKit — a blazing fast static website template that scores 100 in all Lighthouse tests out of the box.
If you're building performant static sites, TurboKit includes everything you need:
✅ PWA-ready
✅ i18n support
✅ JXL, AVIF, and WEBP optimization built in
Explore it at turbokit.io
