Deno 2.0 Platform Launched by Node.js Creator

Deno has officially released version 2.0, a platform designed for executing server applications in JavaScript and Typescript languages. Created by Ryan Dahl, the original creator of node.js, Deno aims to provide a more secure environment by eliminating conceptual errors found in node.js architecture. To enhance safety, Deno uses the V8 engine from Chromium browsers, with the strapping around the engine written in the RUST language. The TOKIO platform is also utilized for processing requests in non-closing mode. The project’s code is distributed under the MIT license and assemblies are available for Linux, Windows, and MacOS.

In the development of Deno 2.0, a key focus was maintaining compatibility with existing JavaScript infrastructure while expanding support for JavaScript projects to ensure security. Some of the notable changes in this release include:

  • Compatibility with Node.js and NPM, allowing unmodified applications created for Node.js to be run in Deno. This also enables the gradual transition of existing Node.js projects to Deno or connecting dependencies from NPM to Deno projects.
  • Built-in support for the Package.json file and a directory with node_modules modules used in Node.js.
  • Support for private NPM registries defined through the “.NPMRC” files.
  • Support for popular JavaScript frameworks like Next.js, Astro, Remix, Angular, Sveltekit, and Qwikcity.
  • Added support for working with NPM workspaces and monorepo, with separate dependency handling.
  • New packages introduced include Deno Install for faster dependency installation and tools like “Deno Add” and “Deno Remove” for managing packages.
  • Stabilized the standard library.
  • Long-term support (LTS) is provided.
  • Introduced jsr, a repository of JavaScript and Typescript libraries for various JavaScript runtimes.
  • Deno FMT team now has the ability to format content in HTML, CSS, and YAML.
  • The “Deno Lint” command includes support for rules and corrections specific to Node.js.
  • The Deno Test team can run tests created using Node: Test.
  • The “Deno Task” team has added support for running scripts through Package
/Reports, release notes, official announcements.