Deno 1.26 improves Node.js compatibility, npm support

Deno 1.26 improves Node.js compatibility, npm support

Latest update to the alternative TypeScript/JavaScript runtime also brings bug fixes and performance boosts.

Credit: Dreamstime

Deno 1.26, the latest version of the TypeScript / JavaScript runtime that strives to improve on Node.js, emphasises Node.js compatibility, among other improvements.

Deno 1.26 was unveiled September 29. The update includes implementations for several previously unsupported APIs in the Node.js compatibility layer, according to release notes. In addition, the compatibility layer’s test suite was updated for compatibility with Node.js v18.8.0, in preparation for Node.js 18 entering Long Term Support (LTS) status next month.

Further, Deno 1.26 updates the Node.js streams implementation to use the readable-stream@4.1.0 NPM module, allowing Deno to better keep up with breaking changes and new features. Within this compatibility layer, the stream and stream/promises modules are now implemented via readable_stream.

This refactor also introduces new APIs including Writable.toWeb() and Readable.toWeb(), which are used to convert Node.js streams to web streams. In addition, fs.ReadStream and fs.WriteStream have been updated to improve compatibility with implementations in Node.js.

Developers can upgrade to Deno 1.26 by running deno upgrade. Other instructions for installing Deno can be found at

Also in Deno 1.26, bugs have been fixed related to NPM specifiers. Support for NPM modules remains experimental and requires the –unstable flag.

Meanwhile, bugs such as spurious hangs on Windows have been fixed in the Deno.serve() API, which provides a fast HTTP server.

In addition, support has been added for a Cache web API, to cache request/response objects, helpful when dynamically generating responses. Also, a new permission flag, --allow-sys, guards access to APIs that provide information about a user’s operating system and Deno 1.26 ships with TypeScript 4.8.

The developers of Deno said ongoing performance improvements have been made as part of an initiative to find bottlenecks and reduce latency and processing overhead. 

The team also made developer experience improvements, such as an overhaul of the search capability on, improving the ability to search symbols across built-in APIs, the Deno standard library, and third-party modules. Other improvements are planned such as auto-linking between symbols within documentation.

Follow Us

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags software



Join key decision-makers within Environmental, Social, and Governance (ESG) that have the power to affect real change and drive sustainable practices. SustainTech will bridge the gap between ambition and tangible action, promoting strategies that attendees can use in their day-to-day operations within their business.

EDGE 2023

EDGE is the leading technology conference for business leaders in Australia and New Zealand, built on the foundations of collaboration, education and advancement.


ARN has celebrated gender diversity and recognised female excellence across the Australian tech channel since first launching WIICTA in 2012, acknowledging the achievements of a talented group of female front runners who have become influential figures across the local industry.

ARN Innovation Awards 2023

Innovation Awards is the market-leading awards program for celebrating ecosystem innovation and excellence across the technology sector in Australia.

Show Comments