How to rapidly validate if a JS package will work on Workers runtime?
Like the old 'Works on Workers' catalogue which disappeared. Node.js / javascript / typescript packages.
I know this page exists: https://developers.cloudflare.com/workers/runtime-apis/nodejs/ but without a deep dive into other packages you cannot identify whether a package will 'just work'. As an example of two popular packages,
Is it a matter of trial and error? Or Google
Or assume nothing works and default to building from scratch (or more likely, electing to run my FaaS elsewhere..
)
This sounded really whingy and I don't intend it to be. I really love the product, it is just not the easiest to use right now!
I know this page exists: https://developers.cloudflare.com/workers/runtime-apis/nodejs/ but without a deep dive into other packages you cannot identify whether a package will 'just work'. As an example of two popular packages,
stripe works but @sendgrid/mail doesn'tIs it a matter of trial and error? Or Google
[package] cloudflare workers each time and hope someone has written a blog post? That will become exhausting quickly.Or assume nothing works and default to building from scratch (or more likely, electing to run my FaaS elsewhere..
This sounded really whingy and I don't intend it to be. I really love the product, it is just not the easiest to use right now!
Cloudflare Docs
Implemented Node.js runtime APIs and enablement instructions for your Worker project.
