Hacker News

Show HN: Lazy-image – Node.js image library with static binaries (Rust/NAPI)

4 points by einshutoin ago | 2 comments

krthr |next [-]

Does it support Cloudflare workers environment?

einshutoin |root |parent [-]

Currently, lazy-image does not support Cloudflare Workers.

lazy-image uses native modules (.node files) built with NAPI-RS, which cannot run in Cloudflare Workers' V8 Isolate environment (only WebAssembly or pure JavaScript are supported).

*Currently supported environments:* - Node.js 18+ environments (AWS Lambda, Vercel Serverless Functions, Google Cloud Functions, etc.) - Serverless environments where native binaries can execute

*Cloudflare Workers support:* - A WASM version is planned for v2.0

I appreciate your patience until v2.0 is released.

einshutoin |previous [-]

[dead]