You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @keiya01! I just found your og_image_writer crate, and it seems to do exactly what I need! I was just wondering if you had considered creating a WASM version compiled with the Node target, and publishing it to npm, to make it a bit easier for people to import. Happy to submit that as a PR, or if you'd prefer, to fork and maintain that separately. I'm also curious about a napi-rs version!
The text was updated successfully, but these errors were encountered:
Thank you @benwis for sending issue!
I have already published node version pkg in https://www.npmjs.com/package/og_image_writer but can't you use this pkg in node.js?
And I'm interesting for support a napi-rs version! I will try to do it.
I probably can, but compiling with the node target means you can skip the init call on the server. I'd usually recommend using the exports in package.json to specify a browser version built using --target web and a node version built using --target node.
Hi @keiya01! I just found your og_image_writer crate, and it seems to do exactly what I need! I was just wondering if you had considered creating a WASM version compiled with the Node target, and publishing it to npm, to make it a bit easier for people to import. Happy to submit that as a PR, or if you'd prefer, to fork and maintain that separately. I'm also curious about a napi-rs version!
The text was updated successfully, but these errors were encountered: