Cloudflare lately introduced workerd, its new open-source JavaScript/Wasm runtime that’s based mostly on the identical code that powers Cloudflare Employees.
Whereas workerd does share the vast majority of its code with the runtime that powers Cloudfare Employees, it has been modified as a way to make it extra moveable to different environments.
Workerd can be utilized to self-host functions that the person would often run on Cloudflare Employees. In keeping with Cloudflare, it’s supposed to be a production-ready net server for this objective.
The open-source providing was designed to be unopinionated about internet hosting environments in order that it may well match into no matter server/VM/container internet hosting and orchestration system the person prefers. Moreover, workerd is designed to facilitate practical native testing of Employees.
Workerd can even act as an utility host, a proxy, or each and it helps each ahead and reverse proxy fashions. JavaScript can be utilized to intercept and course of requests and responses earlier than passing them on.
Workerd is presently accessible in beta. customers can click on right here to strive it out. For extra info, learn the weblog put up.