Node.js 23.0 Launches with TypeScript Support

In the recent release of Node.js 23.0.0, a platform for executing network applications in JavaScript, significant changes have taken place. This release is attributed to the intermediate branches, with support planned for 7 months until June 2025. The Node.js 22 branch will soon be stabilized and receive LTS status on October 29, with support until April 2027. Meanwhile, support for past Node.js 20.X and 18.X LTS versions will continue until April 2026 and 2025, respectively.

According to Red Hat, the main updates in Node.js 23.0.0 include:

  • Added experimental support for the TypeScript language, allowing clear type definitions. This support can be included using options such as “…”.
  • The ability to use the Redire() call to download ESM JavaScript modules in synchronous mode by default. ESM modules are commonly used in browsers and are different from CommonJS modules specific to Node.js.
  • Automatic identification of ESM modules in files without extension or with the “.JS” extension. If the Package.json file does not clearly specify the module type, Node.js will attempt to load files as CommonJS modules first, then as ESM modules if needed.
  • Experimental implementation of the Web Storage API for data storage in key/value format. This API can store data permanently (LocalStorage) or temporarily (SessionStorage) and requires specific flags to enable it.
  • An experimental API for SQLite has been added to allow working with databases using SQL queries and the SQLite library. This API also supports storing databases in memory instead of on disk.
  • Introduction of the stable feature “Node-Run” for launching scripts defined in the Package.json file.
/Reports, release notes, official announcements.