Open stefanofa opened 1 month ago
Thanks for your question, @stefanofa! Currently, is-odd-ai isn't compatible with Cloudflare Workers, but we'd welcome a contribution to add support. Here's a breakdown of the current incompatibilities and a roadmap for adding Cloudflare Workers support while maintaining compatibility with existing environments:
Current incompatibilities:
dotenv
, not supported in Cloudflare Workers.axios
, unavailable in the Cloudflare Workers runtime.Roadmap for Cloudflare Workers compatibility:
dotenv
with a solution that works in both Node.js and Cloudflare Workersaxios
to an isomorphic fetch solutionKey considerations:
If you're up for tackling this, feel free to submit a pull request with your implementation. We're excited to see how you approach adding Cloudflare Workers support while maintaining compatibility with our existing environments!
Let us know if you have any questions or need any clarifications as you work on this feature. Good luck, and thanks for considering contributing to is-odd-ai! 🚀
Is this library compatible with cloudflare workers?