markdown-wasm icon indicating copy to clipboard operation
markdown-wasm copied to clipboard

Support running on Cloudflare Workers platform

Open sntran opened this issue 1 year ago • 1 comments

None of the distributed modules can be used in Cloudflare Workers, due to the usage of Node.js specific modules like path and fs without node: prefix. Would it be possible to add the prefix for those?

Alternatively, I see that there is a way to build custom module with the WASM embedded, which may removes the need for those path and fs modules. However, would you consider include that in the NPM package so other users can just NPM install and use it?

sntran avatar May 01 '24 18:05 sntran

Support for this would be great.

langscot avatar May 25 '25 07:05 langscot