Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

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

Blog post from Cloudflare

Post Details
Company
Date Published
Author
James M Snell
Word Count
1,803
Language
English
Hacker News Points
6
Summary

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.