VOOZH about

URL: https://thenewstack.io/deno-2-arrives-with-long-term-support-node-js-compatibility/

⇱ Deno 2 Arrives With Long-Term Support, npm Compatibility - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-09-18 09:30:47
Deno 2 Arrives With Long-Term Support, npm Compatibility
Frontend Development

Deno 2 Arrives With Long-Term Support, npm Compatibility

Due to be released in early October, Deno 2.0 will come with full backwards compatibility with Node and npm, long term support guarantees, monorepo and workspace support, and more.
Sep 18th, 2024 9:30am by David Cassel
👁 Featued image for: Deno 2 Arrives With Long-Term Support, npm Compatibility

Ryan Dahl freed JavaScript from web browsers when he created the Node.js runtime — then expanded the ecosystem even more with Node’s package manager npm. After that came the improved Deno runtime for JavaScript and TypeScript, to be followed soon by the release of a major-version upgrade — Deno 2.0.

Andy Jiang, Deno’s product marketing manager, tells us “We’re aiming for early October” for the (hopeful) official release date of Deno 2. And Deno creator Ryan Dahl has been marking the upcoming milestone by appearing on four different podcasts (and in a short Honeypot documentary).

But Dahl is not just talking about the big changes coming to Deno runtime, but where it fits into the larger story of JavaScript — and the web itself.

On the “JavaScript Jabber” podcast, Dahl stressed that Deno 2, due to be released in early October, is to “make sure it scales up to projects that have 100,000 lines of JavaScript.” Then he ticked through the major new features. . “That includes the npm support, that includes the JavaScript Registry, that means the long-term support and Workspaces — all kind of factor into this scaling up of Deno.”

Deno 2 release candidates started arriving at the end of August, and at about the same time, Bartek Iwanczuk, the lead of Deno’s CLI team posted that Deno had its last pre-version 2 release.

Importing npm Modules

“It’s become pretty clear over the last couple of years that there are a lot of npm packages that people just need to use,” Dahl said in an interview on the Syntax podcast.

So Deno 2 will support the importing of npm packages.

Dahl calls it “a really large undertaking… We’ve been working on this for essentially two years now”

But he also says they’ve got to a point where “Most npm packages are working out of the box in Deno. But in particular, frameworks… including very complex frameworks like Next.js that have build processes and all sorts of stuff. So yeah, you should be able to just run these things in your next project, once we get to Deno 2.”

While Deno uses HTTP-based import statements, Deno 2 brings “the ability to have a URL that points to an npm module and be able to pull that in…” Dahl said on the Stack Overflow podcast.

“Because it turns out a lot of the JavaScript ecosystem depends heavily on that,” he said

👁 Arsenii Gorushkin mocks Deno 2 in YouTube comment

In the comments on a Deno 2 announcement video, backend web developer Arsenii Gorushkin — also an avid lover of Deno — shared some skepticism.

On the “JavaScript Jabber” podcast, Dahl stresses that “The level of compatibility is fantastic,” between npm and Deno.

“There’s always going to be a ‘long tail’ of incompatibilities, and we consider any module that we can’t run a bug, and we will fix it. But it’s really, really good these days.”

For example, Deno can even import Node modules that have their own compiled extension modules. “It goes very deep… Essentially anything that you pull in should work, out of the box, in Deno these days….

“I would encourage people to try it. You will be shocked.”

In June Deno also began duplicating npm’s popular Workspace feature, which lets developers manage and sync several interdependent packages in one repository. “We support npm workspaces as well as our own form of npm Workspaces,” Dahl said on the Syntax podcast.

This should also make it easier for developers to make the jump from Node to Deno. Citing workspaces but also its general performance, Dahl said on the PodRocket podcast. “If people try it out, I guarantee you will be shocked at how nice it is.”

Long-Term Support

Again and again, Dahl has been making the case that Deno is coming of age.

On the PodRocket podcast, Dahl also cited the arrival of Long-Term-Support for Deno, with backported security fixes and promises of API stability, calling this “another way that helps people adopt Deno and use it in more situations. Because if you don’t have stability guarantees, you can’t really use it in certain enterprise settings.”

“We’ve been working on Deno for a while,” Dahl said on the Syntax podcast. “It is stable now, Basically, Deno 2 is kind of our our marker that Deno is ready for production, ready for use cases..”

The Future of JavaScript

Dahl acknowledged the JavaScript community has a long-standing proposal to make type annotations a valid JavaScript syntax even if they’re ignored by the JavaScript engine (an idea sometimes called “types as comments”). Dahl says that while the proposal isn’t fully formed, he believes it’s “the direction that JavaScript will be going” — maybe ultimately being supported in Google’s V8 JavaScript engine.

“And so I would imagine five years from now, Chrome executes TypeScript natively because it just can do the type-stripping inside of V8 itself. Which would be beautiful.”

But perhaps Dahl’s most succinct pronouncement came on the Syntax podcast. “I just have this theory that JavaScript is here for the long run and that this isn’t, like, a two-year sort of thing. This is like a 20-year sort of thing, because software infrastructure relies so heavily on the browser. And so I just think it’s really important for us to think long-term about where we’re going with this thing…

“We’re building Deno for the future.”

TRENDING STORIES
David Cassel is a proud resident of the San Francisco Bay Area, where he's been covering technology news for more than two decades. Over the years his articles have appeared everywhere from CNN, MSNBC, and the Wall Street Journal Interactive...
Read more from David Cassel
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Deno.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.