Cloudflare to create new API standards
Cloudflare, Inc., the Internet security, performance, and reliability company, is collaborating with Deno and individual core contributors of the Node.js open source project, which brings together three of the largest JavaScript environments, to give developers flexibility and choice while creating the standards for the future of edge computing. The project will seek to ensure that code produced in one environment will operate in another by working around a shared set of standards.
Any developer will be able to write and run code that adheres to the set of standards–as well as simply transfer it–across Cloudflare Workers, Deno, and Node.js without having to redesign an application.
“The future of JavaScript is Universal, the ability to move JavaScript between many environments. That future needs to be intentionally designed,” said Myles Borins, member of the Node.js Technical Steering Committee. “Historically, developers have had to rely on tacit knowledge and build tools to share code across the various JavaScript runtimes. The promise of ‘write once, run anywhere’ will only be possible with collaborative initiatives like the Web-interoperable Runtimes Community Group.”
“Developers are asking
Node.js for more interoperability with APIs defined by Web standards,” said Matteo Collina, chief software architect, NearForm and Node.js Technical Steering Committee member. “However, those APIs have not been designed with servers in mind and might require some adaptations. The WinterCG group’s goal is to define how those APIs would behave on servers, paving the way for better interoperability between runtimes.”