Deno 2 Released, Focuses on Interoperability with Legacy JavaScript Infrastructure and Use at Scale

The Deno team recently released Deno 2. According to the team, Deno 2 provides seamless interoperability with legacy JavaScript infrastructure, a stabilized standard library, a modern registry for sharing JavaScript libraries across runtimes, and more.

Deno 2 touts backward compatibility with Node and npm. The release note explains:

Deno 2 understands package.json, the node_modules folder, and even npm workspaces, allowing you to run Deno in any Node project using ESM. And if there are minor syntax adjustments needed, you can fix them with deno lint --fix.

The aforementioned compatibility enables teams to incrementally adopt Deno and its all-in-one toolchain. Deno developers can import npm packages via the npm: specifier:

import chalk from "npm:[email protected]"Source link 

Leave a Comment