/plushcap/analysis/cloudflare/workers-node-js-asynclocalstorage

Node.js compatibility for Cloudflare Workers – starting with Async Context Tracking, EventEmitter, Buffer, assert, and util

What's this blog post about?

Cloudflare Workers now support a variety of Node.js core APIs, including util, path, fs/promises, events, buffer, assert, and more. This update enhances the compatibility of existing worker scripts with Node.js APIs and allows developers to use familiar patterns when building new workers. The supported APIs cover a wide range of functionality, from high-level abstractions like EventEmitter to lower level utilities like Buffer for manipulating binary data.

Company
Cloudflare

Date published
March 23, 2023

Author(s)
James M Snell

Word count
1803

Hacker News points
6

Language
English


By Matt Makai. 2021-2024.