/plushcap/analysis/cloudflare/workers-javascript-modules

JavaScript modules are now supported on Cloudflare Workers

What's this blog post about?

Cloudflare Workers now supports JavaScript modules, allowing developers to import and export code in their projects. This feature is based on the ECMAScript (ES) module standard introduced by the "ES6" language specification for JavaScript. The new event handler syntax allows for better organization, maintenance, and re-use of code. Cloudflare Workers also supports other module types such as WebAssembly, text, and binary modules. Developers can try out modules in their browser using the playground or by using the wrangler 2.0 CLI.

Company
Cloudflare

Date published
Nov. 16, 2021

Author(s)
Ashcon Partovi

Word count
1269

Hacker News points
16

Language
English


By Matt Makai. 2021-2024.