# ECMAScript

ECMAScript is a general-purpose, cross-platform, vendor-neutral programming language standardized by Ecma International, including its syntax, semantics, and libraries.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## SAFE: Formal Specification and Implementation of a Scalable Analysis Framework for ECMAScript

DevFeed: [SAFE: Formal Specification and Implementation of a Scalable Analysis Framework for ECMAScript](<https://devfeed.tech/articles/safe-formal-specification-and-implementation-of-a-scalable-analysis-framework-for-ecmascript-138009.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.21148>)

Author: Hongki Lee, Sooncheol Won, Joonho Jin, Junhee Cho, Sukyoung Ryu

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [applications](<https://devfeed.tech/tags/applications.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [community](<https://devfeed.tech/tags/community.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [define](<https://devfeed.tech/tags/define.md>), [design](<https://devfeed.tech/tags/design.md>), [ecmascript](<https://devfeed.tech/tags/ecmascript.md>), [flexible](<https://devfeed.tech/tags/flexible.md>), [formal](<https://devfeed.tech/tags/formal.md>), [framework](<https://devfeed.tech/tags/framework.md>), [future](<https://devfeed.tech/tags/future.md>), [generate](<https://devfeed.tech/tags/generate.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [intermediate-representations](<https://devfeed.tech/tags/intermediate-representations.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [safe](<https://devfeed.tech/tags/safe.md>), [specification](<https://devfeed.tech/tags/specification.md>)

### AI overview

SAFE is an open-source, formally specified analysis framework for ECMAScript intended to help JavaScript researchers build and adapt program analyses. It defines three intermediate representations and formally specifies the translations between them. Open-source tools generate parsers and some representations, supporting adaptation to syntax changes; the framework is designed to be flexible, scalable, and pluggable across compilation phases. The abstract says SAFE is publicly available and collaborative research using it is underway.

### Source excerpt

arXiv:2611.21148v1 Announce Type: cross Abstract: The prevalent uses of JavaScript in web programming have revealed security vulnerability issues of JavaScript applications, which emphasizes the need for JavaScript analyzers to detect such issues. Recently, researchers have proposed several analyzers of JavaScript programs and some web service companies have developed various JavaScript engines. However, unfortunately, most of the tools are not documented well, thus it is very hard to understand and modify them. Or, such tools are often not open to the public. In this paper, we present formal specification and implementation of SAFE, a scalable analysis framework for ECMAScript, developed for the JavaScript research community. This is the very first attempt to provide both formal specification and its opensource implementation for JavaScript, compared to the existing approaches focused on only one of them. To make it more amenable for other researchers to use our framework, we formally define three kinds of intermediate representations for JavaScript used in the framework, and we provide formal specifications of translations between them. To be adaptable for adventurous future research including modifications in the original JavaScript syntax, we actively use open-source tools to automatically generate parsers and some intermediate representations. To support a variety of program analyses in various compilation phases, we design the framework to be as flexible, scalable, and pluggable as possible. Finally, our framework is publicly available, and some collaborative research using the framework are in progress.

## 7 ECMAScript 2026 Features That Make JavaScript Better

DevFeed: [7 ECMAScript 2026 Features That Make JavaScript Better](<https://devfeed.tech/articles/7-ecmascript-2026-features-that-make-javascript-better-87901.md>)

Original publisher: [Read original article](<https://jsdev.space/ecmascript-2026-features/>)

Author: anton liberant

Published: 2026-09-30T00:00:00Z

Content type: article

Language: en

Sources: [JavaScript Development](<https://devfeed.tech/sources/javascript-development.md>)

Topics: [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Encoding](<https://devfeed.tech/topics/encoding.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [any-value](<https://devfeed.tech/tags/any-value.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [application](<https://devfeed.tech/tags/application.md>), [array](<https://devfeed.tech/tags/array.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [await](<https://devfeed.tech/tags/await.md>), [base64](<https://devfeed.tech/tags/base64.md>), [bits](<https://devfeed.tech/tags/bits.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [data](<https://devfeed.tech/tags/data.md>), [ecmascript](<https://devfeed.tech/tags/ecmascript.md>), [es2026](<https://devfeed.tech/tags/es2026.md>), [features](<https://devfeed.tech/tags/features.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [maps](<https://devfeed.tech/tags/maps.md>), [practical](<https://devfeed.tech/tags/practical.md>), [tc39](<https://devfeed.tech/tags/tc39.md>)

### AI overview

The article surveys seven ECMAScript 2026 additions that reduce common JavaScript boilerplate: Map insertion helpers, async iterator collection, lazy iterator concatenation, improved handling of large JSON integers, Base64 and hexadecimal conversion for Uint8Array, cross-realm error detection, and more reliable floating-point summation. It explains usage examples and cautions, including sequential processing by Array.fromAsync() and runtime support differences.

### Source excerpt

Explore seven practical ECMAScript 2026 features for Maps, async iterators, JSON, binary data, errors, precise sums, and cleaner JavaScript.

## Babel in Khan Academy's i18n Toolchain

DevFeed: [Babel in Khan Academy's i18n Toolchain](<https://devfeed.tech/articles/babel-in-khan-academy-s-i18n-toolchain-27381.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/i18n-babel-plugin.htm>)

Author: Khan Academy

Published: 2015-06-22T22:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [Babel](<https://devfeed.tech/topics/babel.md>), [Internationalization (i18n)](<https://devfeed.tech/topics/i18n.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [React](<https://devfeed.tech/topics/react.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [ast](<https://devfeed.tech/tags/ast.md>), [babel](<https://devfeed.tech/tags/babel.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [callback](<https://devfeed.tech/tags/callback.md>), [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [es6](<https://devfeed.tech/tags/es6.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [exports](<https://devfeed.tech/tags/exports.md>), [foreach](<https://devfeed.tech/tags/foreach.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [i18n](<https://devfeed.tech/tags/i18n.md>), [jsx](<https://devfeed.tech/tags/jsx.md>), [news](<https://devfeed.tech/tags/news.md>), [web-frontend](<https://devfeed.tech/tags/web-frontend.md>)

### AI overview

Khan Academy's Babel migration preserved its custom i18n workflow by adding a Babel plugin that turns `<$_>` and `<$i18nDoNotTranslate>` JSX tags into function calls. Matching jstransform required retaining generated line numbers and exact whitespace in translation strings; the team compared Gettext `.pot` files from both build paths and used fixtures to isolate whitespace differences. Migration testing also caught two transformer issues: class output still contained `let` until `es6.blockScoping` was added to the whitelist, and Babel's function-name transformation could make a `setInterval` method call itself by shadowing the global. The article reports that Babel maintainers fixed the issues and describes the plugin as a relatively straightforward way to preserve the existing build workflow.

### Source excerpt

By Kevin Barabash We've been using ES6 (along with JSX) for sometime at Khan Academy. Right now, we're ... Read more

## Interning at Khan Academy: from student to intern

DevFeed: [Interning at Khan Academy: from student to intern](<https://devfeed.tech/articles/interning-at-khan-academy-from-student-to-intern-27383.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/interning-at-khan-academy.htm>)

Author: Khan Academy

Published: 2016-12-12T23:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Website](<https://devfeed.tech/topics/website.md>)

Tags: [content-creators](<https://devfeed.tech/tags/content-creators.md>), [css](<https://devfeed.tech/tags/css.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [devices](<https://devfeed.tech/tags/devices.md>), [editor](<https://devfeed.tech/tags/editor.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [es6](<https://devfeed.tech/tags/es6.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [intern](<https://devfeed.tech/tags/intern.md>), [news](<https://devfeed.tech/tags/news.md>), [student](<https://devfeed.tech/tags/student.md>), [web-frontend](<https://devfeed.tech/tags/web-frontend.md>)

### AI overview

Shadaj Laddad's Khan Academy internship focused on bringing exercises and authoring tools to mobile. He polished the React math keypad, then built mobile-first content previews in the editor using iframes to isolate styles and support components rendered to the page body. To keep previews responsive, the editor stored exercise objects in a parent-window global and notified the same-domain iframe by message; a custom update check limited full reloads to form-factor or touch-emulation changes. Feedback from content creators led to an adjustment that kept preview content visible without scrolling for screenshots. Laddad also updated SVG graph widgets for mobile, using `shape-rendering: crispEdges` to align horizontal and vertical lines with pixel rows and reduce blur.

### Source excerpt

By Shadaj Laddad This past summer I had the amazing opportunity to work on a product I use ... Read more

## Fixing Top-Level Await in Safari

DevFeed: [Fixing Top-Level Await in Safari](<https://devfeed.tech/articles/fixing-top-level-await-in-safari-49196.md>)

Original publisher: [Read original article](<https://webkit.org/blog/18227/fixing-top-level-await-in-safari/>)

Author: Kai Tamkun

Published: 2026-09-02T17:05:29Z

Content type: release

Language: en

Sources: [WebKit](<https://devfeed.tech/sources/webkit.md>)

Topics: [await](<https://devfeed.tech/topics/await.md>), [WebKit](<https://devfeed.tech/topics/webkit.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [async](<https://devfeed.tech/topics/async.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Sequences](<https://devfeed.tech/topics/sequences.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [bun](<https://devfeed.tech/tags/bun.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [es](<https://devfeed.tech/tags/es.md>), [execution](<https://devfeed.tech/tags/execution.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [js](<https://devfeed.tech/tags/js.md>), [module](<https://devfeed.tech/tags/module.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [webkit](<https://devfeed.tech/tags/webkit.md>)

### AI overview

WebKit for Safari 27 adds full specification compliance for top-level await. The article explains how the feature suspends dependent ES modules while allowing unrelated modules to execute concurrently, and describes the rebuilt module loader behind the change.

### Source excerpt

WebKit for Safari 27 adds full spec compliance for top-level `await`.

## A critical history of JavaScript's prototype-based design and later TypeScript and ES6 changes

DevFeed: [A critical history of JavaScript's prototype-based design and later TypeScript and ES6 changes](<https://devfeed.tech/articles/the-fall-of-javascript-35600.md>)

Original publisher: [Read original article](<https://www.yegor256.com/2025/12/28/fall-of-javascript.html>)

Author: Yegor Bugayenko (yegor256@gmail.com)

Published: 2025-12-27T21:00:00Z

Content type: opinion

Language: en

Sources: [Yegor Bugayenko](<https://devfeed.tech/sources/yegor-bugayenko.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [es6](<https://devfeed.tech/tags/es6.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [object-oriented](<https://devfeed.tech/tags/object-oriented.md>), [oop](<https://devfeed.tech/tags/oop.md>), [prototype](<https://devfeed.tech/tags/prototype.md>), [prototypes](<https://devfeed.tech/tags/prototypes.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [typescript-is-clumsy](<https://devfeed.tech/tags/typescript-is-clumsy.md>), [typescript-is-ugly](<https://devfeed.tech/tags/typescript-is-ugly.md>), [typescript-types](<https://devfeed.tech/tags/typescript-types.md>), [typescript-vs-javascript](<https://devfeed.tech/tags/typescript-vs-javascript.md>)

### AI overview

This opinion article recounts JavaScript's origins and argues that its prototype-based, class-free design was later undermined by TypeScript and ES6 classes. It also compares JavaScript's object model with Scheme, Self, C++, and Java.

### Source excerpt

JavaScript was an elegant prototype-based class-free language until TypeScript and ES6 classes ruined it.

## Announcing TypeScript 5.9 RC

DevFeed: [Announcing TypeScript 5.9 RC](<https://devfeed.tech/articles/announcing-typescript-5-9-rc-2916.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/typescript/announcing-typescript-5-9-rc/>)

Author: Daniel Rosenwasser

Published: 2025-07-25T16:53:10Z

Content type: article

Language: en

Sources: [TypeScript](<https://devfeed.tech/sources/typescript.md>)

Topics: [TypeScript](<https://devfeed.tech/topics/typescript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [npm](<https://devfeed.tech/topics/npm.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [developers](<https://devfeed.tech/tags/developers.md>), [features](<https://devfeed.tech/tags/features.md>), [npm](<https://devfeed.tech/tags/npm.md>), [release](<https://devfeed.tech/tags/release.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

This article announces the Release Candidate of TypeScript 5.9. It describes changes to the generated tsconfig configuration and introduces support for ECMAScript deferred module evaluation through import defer.

### Source excerpt

Today we are excited to announce the Release Candidate (RC) of TypeScript 5.9! To get started using the Release Candidate, you can get it through npm with the following command: npm install -D typescript@rc Let's take a look at what's new in TypeScript 5.9! Minimal and Updated tsc --init Support for import defer Support for [...] The post Announcing TypeScript 5.9 RC appeared first on TypeScript.

## Announcing TypeScript 5.9 Beta

DevFeed: [Announcing TypeScript 5.9 Beta](<https://devfeed.tech/articles/announcing-typescript-5-9-beta-2915.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/typescript/announcing-typescript-5-9-beta/>)

Author: Daniel Rosenwasser

Published: 2025-07-08T17:38:54Z

Content type: release

Language: en

Sources: [TypeScript](<https://devfeed.tech/sources/typescript.md>)

Topics: [TypeScript](<https://devfeed.tech/topics/typescript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [features](<https://devfeed.tech/tags/features.md>), [npm](<https://devfeed.tech/tags/npm.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

The article announces the TypeScript 5.9 Beta and explains how to install it through npm. It highlights a more minimal and prescriptive default generated configuration, support for deferred module evaluation, and support for --module node20.

### Source excerpt

Today we are excited to announce the availability of TypeScript 5.9 Beta. To get started using the beta, you can get it through npm with the following command: npm install -D typescript@beta Let's take a look at what's new in TypeScript 5.9! Minimal and Updated tsc --init Support for import defer Support for --module node20 [...] The post Announcing TypeScript 5.9 Beta appeared first on TypeScript.

## Node.js 24.2.0 (Current)

DevFeed: [Node.js 24.2.0 (Current)](<https://devfeed.tech/articles/node-js-24-2-0-current-2823.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v24.2.0>)

Published: 2025-06-09T21:51:26Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Process](<https://devfeed.tech/topics/process.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [process](<https://devfeed.tech/tags/process.md>), [release](<https://devfeed.tech/tags/release.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

Node.js 24.2.0 is a Current release that removes priority signaling support from nghttp2, adds a Boolean value for detecting the entry-point module, and includes multiple minor enhancements across HTTP/2, filesystem streams, diagnostics, configuration, permissions, testing, benchmarking, builds, and worker threads.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Deno 2.0 Is Here, and It's Scaly

DevFeed: [Deno 2.0 Is Here, and It's Scaly](<https://devfeed.tech/articles/deno-2-0-is-here-and-it-s-scaly-5185.md>)

Original publisher: [Read original article](<https://neon.com/blog/deno-2-0-is-here-and-its-scaly>)

Author: Andrew Tate

Published: 2024-10-15T16:00:19Z

Content type: article

Language: en

Sources: [Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Deno](<https://devfeed.tech/topics/deno.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [npm](<https://devfeed.tech/topics/npm.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [developers](<https://devfeed.tech/tags/developers.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [portable](<https://devfeed.tech/tags/portable.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The article introduces Deno 2.0 and explains how its direct Node.js and npm compatibility can reduce the cost of adopting Deno. It contrasts Deno's simpler dependency model, based on URL imports with fetched and cached dependencies, against Node.js projects using npm and package.json. The article highlights cleaner project structures, portability, version locking, and dependency integrity checks.

### Source excerpt

Deno is now six years old. Built by Node.js creator Ryan Dahl to address what he saw as the mistakes of Node, the motivation behind Deno was simple. Node.js was too complex, too insecure, and had drifted away from JavaScript in how it worked. Deno would align with ECMAScript and...

## Node.js 20.17.0 (LTS)

DevFeed: [Node.js 20.17.0 (LTS)](<https://devfeed.tech/articles/node-js-20-17-0-lts-2716.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v20.17.0>)

Published: 2024-08-21T17:40:21Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lts](<https://devfeed.tech/tags/lts.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Node.js 20.17.0 is an LTS release that adds support for synchronous ECMAScript module graphs under a flag, along with glob-pattern path testing and a stream-pair capability analogous to a network connection.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Node.js 22.1.0 (Current)

DevFeed: [Node.js 22.1.0 (Current)](<https://devfeed.tech/articles/node-js-22-1-0-current-2757.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v22.1.0>)

Published: 2024-05-02T14:35:52Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [V8](<https://devfeed.tech/topics/v8.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [performance](<https://devfeed.tech/tags/performance.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

Node.js 22.1.0 introduces optional automatic on-disk V8 code caching for CommonJS and ECMAScript Modules. The cache can speed up subsequent module-graph loads, although the first load may be slower and coverage precision may be reduced when cached code is deserialized.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Building an npm package compatible with ESM and CJS in 2024

DevFeed: [Building an npm package compatible with ESM and CJS in 2024](<https://devfeed.tech/articles/building-an-npm-package-compatible-with-esm-and-cjs-in-2024-7854.md>)

Original publisher: [Read original article](<https://snyk.io/blog/building-npm-package-compatible-with-esm-and-cjs-2024/>)

Author: Liran Tal

Published: 2024-04-18T17:00:00Z

Content type: article

Language: en

Sources: [Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [npm](<https://devfeed.tech/topics/npm.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Code](<https://devfeed.tech/topics/code.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [awareness](<https://devfeed.tech/tags/awareness.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [blog](<https://devfeed.tech/tags/blog.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [javascript-packages](<https://devfeed.tech/tags/javascript-packages.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-security](<https://devfeed.tech/tags/open-source-security.md>), [snyk-open-source](<https://devfeed.tech/tags/snyk-open-source.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

This article explains how to publish npm packages that support both ECMAScript Modules (ESM) and CommonJS (CJS). It discusses package manifest fields, entry-point resolution, TypeScript integration, and practical compatibility considerations, with code examples and a referenced GitHub repository.

### Source excerpt

Publishing JavaScript packages that are compatible with both ECMAScript Modules (ESM) and CommonJS (CJS) is a critical skill for developers who aim to integrate wide-ranging libraries. This write-up focuses on practical approaches and best practices for maintaining ESM and CJS support.

## We don't need another coding language

DevFeed: [We don't need another coding language](<https://devfeed.tech/articles/we-don-t-need-another-coding-language-82625.md>)

Original publisher: [Read original article](<https://omni.co/blog/we-dont-need-another-coding-language>)

Author: Chris Merrick

Published: 2024-02-07T16:00:00Z

Content type: opinion

Language: en

Sources: [Omni Blog](<https://devfeed.tech/sources/omni-blog.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>)

Tags: [another-coding-language](<https://devfeed.tech/tags/another-coding-language.md>), [dbt](<https://devfeed.tech/tags/dbt.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>)

### AI overview

The author argues against creating new languages for BI calculations when users already know SQL or Excel. Drawing on the decision to use SQL in dbt and Omni, the article emphasizes that familiar languages reduce the learning burden and that custom languages also require tools, documentation, and debugging support.

### Source excerpt

One of the most eye-opening classes in my college computer science curriculum was programming languages. It turns out compilers aren't just performing big nested if/else statements to parse language syntax! In fact, programmers have invented some impressive tools for building languages: parsers, lexers, and abstract syntax trees. And the standard language building tools like yacc, lex, and antlr are even open source.

## Leveraging Bun on Vultr: A superior Node.js alternative

DevFeed: [Leveraging Bun on Vultr: A superior Node.js alternative](<https://devfeed.tech/articles/leveraging-bun-on-vultr-a-superior-node-js-alternative-4092.md>)

Original publisher: [Read original article](<https://developer.mozilla.org/en-US/blog/leveraging-bun-on-vultr-a-superior-node-js-alternative/>)

Author: vultr

Published: 2024-01-17T00:00:00Z

Content type: article

Language: en

Sources: [MDN Blog](<https://devfeed.tech/sources/mdn-blog.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [bun](<https://devfeed.tech/tags/bun.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [memory](<https://devfeed.tech/tags/memory.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [speed](<https://devfeed.tech/tags/speed.md>)

### AI overview

This guide presents Bun as a fast, all-in-one JavaScript runtime and drop-in replacement for Node.js. It covers Bun's package manager, bundler, test runner, built-in APIs, ECMAScript module and CommonJS compatibility, and Node.js compatibility. It also explains differences between Bun's JavaScriptCore engine and the V8 engine used by Node.js and Deno, then demonstrates running a Bun application on a Vultr Cloud Compute server.

### Source excerpt

This guide explains Bun functionalities as a runtime package manager and a bundler. It also explains the benefits of built-in Bun APIs and how to use Bun's Vultr marketplace application.

## MDN doc updates: CSS selectors & media queries, WebGPU & WebTransport APIs, Progressive web apps

DevFeed: [MDN doc updates: CSS selectors & media queries, WebGPU & WebTransport APIs, Progressive web apps](<https://devfeed.tech/articles/mdn-doc-updates-css-selectors-media-queries-webgpu-webtransport-apis-progressive-web-apps-4099.md>)

Original publisher: [Read original article](<https://developer.mozilla.org/en-US/blog/mdn-docs-june-2023/>)

Author: dipika-bhattacharya

Published: 2023-06-13T00:00:00Z

Content type: article

Language: en

Sources: [MDN Blog](<https://devfeed.tech/sources/mdn-blog.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [selectors](<https://devfeed.tech/topics/selectors.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>), [webgpu](<https://devfeed.tech/topics/webgpu.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [css](<https://devfeed.tech/tags/css.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [media](<https://devfeed.tech/tags/media.md>), [selectors](<https://devfeed.tech/tags/selectors.md>), [web](<https://devfeed.tech/tags/web.md>), [webgpu](<https://devfeed.tech/tags/webgpu.md>)

### AI overview

MDN highlights documentation updates covering CSS selector syntax, expanded CSS media-query support, WebGPU and WebTransport APIs, ECMAScript modules, and progressive web apps. The article also notes browser-specific support, including new or experimental features in Firefox and Safari.

### Source excerpt

Discover CSS :lang(), experimental media queries, manipulating graphics with WebGPU, client-server communication with WebTransport, ECMAScript module support, and more.

## Ladybird: A new cross-platform browser project

DevFeed: [Ladybird: A new cross-platform browser project](<https://devfeed.tech/articles/ladybird-a-new-cross-platform-browser-project-38358.md>)

Original publisher: [Read original article](<https://awesomekling.github.io/Ladybird-a-new-cross-platform-browser-project/>)

Author: Andreas Kling

Published: 2022-09-12T00:00:00Z

Content type: article

Language: en

Sources: [Andreas Kling](<https://devfeed.tech/sources/andreas-kling.md>)

Topics: [browser](<https://devfeed.tech/topics/browser.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Web](<https://devfeed.tech/topics/web.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Qt](<https://devfeed.tech/topics/qt.md>), [Graphics](<https://devfeed.tech/topics/graphics.md>), [SVG](<https://devfeed.tech/topics/svg.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [css](<https://devfeed.tech/tags/css.md>), [gui](<https://devfeed.tech/tags/gui.md>), [html](<https://devfeed.tech/tags/html.md>), [ladybird](<https://devfeed.tech/tags/ladybird.md>), [serenityos](<https://devfeed.tech/tags/serenityos.md>), [svg](<https://devfeed.tech/tags/svg.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

The post introduces Ladybird, a cross-platform browser built from the SerenityOS LibWeb and LibJS engines. It explains the project's origins, its shift from a SerenityOS browser engine toward a broader cross-platform browser, and its C++ architecture using Qt, HTML, DOM, CSS, SVG, ECMAScript, graphics, and image-format components.

### Source excerpt

This post describes the Ladybird browser, based on the LibWeb and LibJS engines from SerenityOS.

## Exporting Node Modules in 2022

DevFeed: [Exporting Node Modules in 2022](<https://devfeed.tech/articles/exporting-node-modules-in-2022-26220.md>)

Original publisher: [Read original article](<https://medium.com/groupon-eng/exporting-node-modules-in-2022-e8fd97f0f5a9?source=rss----5c13a88f9872---4>)

Author: David Bushong

Published: 2022-09-01T20:01:47Z

Content type: tutorial

Language: en

Sources: [Groupon Engineering](<https://devfeed.tech/sources/groupon-engineering-medium.md>)

Topics: [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [npm](<https://devfeed.tech/topics/npm.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>), [import](<https://devfeed.tech/topics/import.md>)

Tags: [babel](<https://devfeed.tech/tags/babel.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [import](<https://devfeed.tech/tags/import.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node](<https://devfeed.tech/tags/node.md>), [npm](<https://devfeed.tech/tags/npm.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

### AI overview

This tutorial explains CommonJS and native ES Module exports in Node.js, including how modules can be imported across module systems. It also compares the output of Babel, Webpack, and TypeScript with native Node.js module behavior, highlighting compatibility concerns and TypeScript's non-standard export syntax.

### Source excerpt

Groupon maintains literally hundreds of NPM modules, both open source and internal. Many of these are consumed by our custom NodeJS-based middleware web layer we call "The Interaction Tier" (itself a topic for another post someday). As folks write new modules, a common question is "what's the best way to export things from our published modules to maximize compatibility?" -- and that is the topic of this post. First, some background and history: Flavors of exported modulesCommonJS in Node In the beginning, there was CommonJS: Here are 3 sample files with exports: // export1.js - exporting individual properties w/ CommonJS 'use strict';function foo() { } exports.foo = foo; exports.bar = 42;// export2.js - exporting a single object w/ CommonJS 'use strict';function baz() { } const garply = 88; module.exports = { baz }; // dynamically (conditionally!) exported! if (Math.random() > 0.5) module.exports.garply = garply;// export3.js - exporting a bare function w/ CommonJS 'use strict';function quux() { } module.exports = quux;// sometimes there are extra properties added to the bare function quux.yadda = 42; Those CommonJS exports can be imported either into other CommonJS files or into ES Module (more on that below) files: // import.js - importing CommonJS modules into a CJS file 'use strict';const { foo, bar } = require('./export1'); const { baz, garply } = require('./export2'); if (Math.random > 0.9) { // can also dynamically decide when to import const quux = require('./export3'); // can poke into properties tacked onto functions const { yadda } = require('./export3'); }// import.mjs - importing CommonJS modules into an ESM file // node is willing to turn exported objects into named exports import { foo, bar } from './export1.js'; import { baz, garply } from './export2.js'; import quux from './export3.js'; // cannot access added property "yadda" directly; hence: const { yadda } = quux; You can read more elsewhere, but the key features are: The module files are synchron

## Super Simple Start to ESModules in Node.js

DevFeed: [Super Simple Start to ESModules in Node.js](<https://devfeed.tech/articles/super-simple-start-to-esmodules-in-node-js-51880.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/super-simple-start-to-es-modules-in-node-js>)

Published: 2021-04-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [modules](<https://devfeed.tech/topics/modules.md>), [version](<https://devfeed.tech/topics/version.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [changes](<https://devfeed.tech/tags/changes.md>), [end-of-life](<https://devfeed.tech/tags/end-of-life.md>), [esm](<https://devfeed.tech/tags/esm.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>)

### AI overview

A beginner-friendly tutorial on enabling and using native ECMAScript Modules in Node.js. It explains that supported Node.js versions include ESM support and shows how to opt in for an individual file or an entire directory.

### Source excerpt

All supported versions of Node.js support ESModules now. Here's how to get started using them.

## Idiomatic Alternatives to Enums in TypeScript

DevFeed: [Idiomatic Alternatives to Enums in TypeScript](<https://devfeed.tech/articles/idiomatic-alternatives-to-enums-in-typescript-19120.md>)

Original publisher: [Read original article](<https://medium.com/rbi-tech/idiomatic-alternatives-to-enums-in-typescript-fa8e6518d113?source=rss----904782439303---4>)

Author: Andy Weiss

Published: 2021-01-31T19:19:11Z

Content type: article

Language: en

Sources: [RBI Tech](<https://devfeed.tech/sources/rbi-tech.md>)

Topics: [enum](<https://devfeed.tech/topics/enum.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Transpilers](<https://devfeed.tech/topics/transpilers.md>), [typesafety](<https://devfeed.tech/topics/typesafety.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>)

Tags: [alternatives](<https://devfeed.tech/tags/alternatives.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [ecmascript](<https://devfeed.tech/tags/ecmascript.md>), [enum](<https://devfeed.tech/tags/enum.md>), [enums](<https://devfeed.tech/tags/enums.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

TypeScript enums are emitted as runtime code, which the article says conflicts with TypeScript's goals of erasable types and clean, idiomatic JavaScript. `const enum` declarations disappear during compilation, but default to integer values and still introduce syntax outside JavaScript standards. The article recommends unions of string literals for readable values: they retain type safety, compile cleanly, and allow TypeScript to recognize matching strings from API responses where enums may not. For opaque values or existing enum-heavy code, it describes converting an enum to a `const` object literal, deriving a union from its keys, replacing enum members with string literals, then defining the union directly. The supplied text presents this as a gradual migration path; it does not include the full code examples.

### Source excerpt

If you're making a list, type check it once? TypeScript is often referred to as a syntactical superset of JavaScript. In practice, this means its compiler can understand standard JS, as well as the type declarations and annotations that enable its error-detecting superpowers. For the most part, the additional syntax provided by TypeScript is stripped away during trans-compilation to JS. Indeed, its ability to gracefully disappear and produce JavaScript output that closely resembles the original code as authored is a major part of its appeal and is enshrined in the project's design goals (emphasis mine): Statically identify constructs that are likely to be errors. Provide a structuring mechanism for larger pieces of code. Impose no runtime overhead on emitted programs. Emit clean, idiomatic, recognizable JavaScript code. Produce a language that is composable and easy to reason about. Align with current and future ECMAScript proposals. Preserve runtime behavior of all JavaScript code. Avoid adding expression-level syntax. Use a consistent, fully erasable, structural type system. Be a cross-platform development tool. Do not cause substantial breaking changes from TypeScript 1.0. What, then, to make of TypeScript enums? 🤔 The idea of an enumerated type -- that a programmer can constrain the values a piece of data can hold to a pre-defined list, and be alerted when their actions diverge from their intentions -- has a rich tradition in programming going all the way back to C. Enums are native to TypeScript, but don't exist in JavaScript. But while enums are supported in TypeScript, there is no corresponding implementation in JavaScript. Worse yet, rather than disappear from the emitted JS output, they are trans-compiled into code that would be hard to refer to as clean or idiomatic. https://bit.ly/362UoxF While the function declaration and invocation above are nearly identical in TS and JS, the enum declaration trans-compiles to an IIFE with nested assignments to an object

## Import non-ESM libraries in ES Modules, with client-side vanilla JS

DevFeed: [Import non-ESM libraries in ES Modules, with client-side vanilla JS](<https://devfeed.tech/articles/import-non-esm-libraries-in-es-modules-with-client-side-vanilla-js-52117.md>)

Original publisher: [Read original article](<https://lea.verou.me/2020/07/import-non-esm-libraries-in-es-modules-with-client-side-vanilla-js/>)

Author: Lea Verou

Published: 2020-07-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Lea Verou's blog](<https://devfeed.tech/sources/lea-verou-s-blog.md>)

Topics: [import](<https://devfeed.tech/topics/import.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [client](<https://devfeed.tech/tags/client.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [ecmascript](<https://devfeed.tech/tags/ecmascript.md>), [esm](<https://devfeed.tech/tags/esm.md>), [globals](<https://devfeed.tech/tags/globals.md>), [import](<https://devfeed.tech/tags/import.md>), [js](<https://devfeed.tech/tags/js.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [modules](<https://devfeed.tech/tags/modules.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [script](<https://devfeed.tech/tags/script.md>), [statement](<https://devfeed.tech/tags/statement.md>), [tips](<https://devfeed.tech/tags/tips.md>), [url](<https://devfeed.tech/tags/url.md>)

### AI overview

For browser-side use, legacy global libraries can be loaded with a side-effect `import` if they attach their global to `window` or `self`, work in strict mode, and are same-origin or CORS-enabled. A dependency-free CommonJS file can instead be loaded with dynamic `import()` after temporarily setting `window.module`, then reading `module.exports`; dynamic import runs at the call site, unlike hoisted static imports. This workaround requires strict-mode-compatible, non-cross-origin code and does not handle nested CommonJS imports. The excerpt also mentions stubbing `define()` for AMD and a data-URI approach for static imports, but does not include the latter's implementation.

### Source excerpt

In case you haven't heard, ECMAScript modules (ESM) are now supported everywhere! While I do have some gripes with them, it's too late for any of these things to change, so I'm embracing the good parts and have cautiously started using them in new projects. I do quite like that I can just use import statements and dynamic import() for dependencies with URLs right from my JS, without module loaders, extra <script> tags in my HTML, or hacks with dynamic <script> tags and load events (in fact, Bliss has had a helper for this very thing that I've used extensively in older projects). I love that I don't need any libraries for this, and I can use it client-side, anywhere, even in my codepens. Once you start using ESM, you realize that most libraries out there are not written in ESM, nor do they include ESM builds. Many are still using globals, and those that target Node.js use CommonJS (CJS). What can we do in that case? Unfortunately, ES Modules are not really designed with any import (pun intended) mechanism for these syntaxes, but, there are some strategies we could employ. Libraries using globals Technically, a JS file can be parsed as a module even with no imports or exports. Therefore, almost any library that uses globals can be fair game, it can just be imported as a module with no exports! How do we do that? While you may not see this syntax a lot, you don't actually need to name anything in the import statement. There is a syntax to import a module entirely for its side effects: import "url/to/library.js"; This syntax works fine for libraries that use globals, since declaring a global is essentially a side effect, and all modules share the same global scope. For this to work, the imported library needs to satisfy the following conditions: It should declare the global as a property on window (or self), not via var Foo or this. In modules top-level variables are local to the module scope, and this is undefined, so the last two ways would not work. Its code should n

## Node.js 12.17.0 (LTS)

DevFeed: [Node.js 12.17.0 (LTS)](<https://devfeed.tech/articles/node-js-12-17-0-lts-2482.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v12.17.0>)

Published: 2020-05-26T14:04:17Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lts](<https://devfeed.tech/tags/lts.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [server](<https://devfeed.tech/tags/server.md>), [web-apps](<https://devfeed.tech/tags/web-apps.md>)

### AI overview

Node.js 12.17.0 is an LTS release that removes the flag previously required to use ECMAScript modules. The ESM implementation remains experimental, with runtime warnings and compatibility differences from transpilation workflows. The release also introduces an experimental Async Hooks API for preserving context across asynchronous operations, with use cases including logging, user identification, performance tracking, and error tracking.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

## Today's Javascript, from an outsider's perspective

DevFeed: [Today's Javascript, from an outsider's perspective](<https://devfeed.tech/articles/today-s-javascript-from-an-outsider-s-perspective-52113.md>)

Original publisher: [Read original article](<https://lea.verou.me/2020/05/todays-javascript-from-an-outsiders-perspective/>)

Author: Lea Verou

Published: 2020-05-25T00:00:00Z

Content type: opinion

Language: en

Sources: [Lea Verou's blog](<https://devfeed.tech/sources/lea-verou-s-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [npm](<https://devfeed.tech/topics/npm.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Usability](<https://devfeed.tech/topics/usability.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [blog](<https://devfeed.tech/tags/blog.md>), [dx](<https://devfeed.tech/tags/dx.md>), [errors](<https://devfeed.tech/tags/errors.md>), [es6](<https://devfeed.tech/tags/es6.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [js](<https://devfeed.tech/tags/js.md>), [json](<https://devfeed.tech/tags/json.md>), [npm](<https://devfeed.tech/tags/npm.md>), [rants](<https://devfeed.tech/tags/rants.md>), [usability](<https://devfeed.tech/tags/usability.md>)

### AI overview

An outsider's attempt to use a JavaScript module exposes confusing module configuration, package installation, browser loading, MIME-type, and localhost requirements. The article uses the experience to critique poor error messages, missing feedback, and usability problems in JavaScript tooling.

### Source excerpt

Today I tried to help a friend who is a great computer scientist, but not a JS person use a JS module he found on Github. Since for the past 6 years my day job is doing usability research & teaching at MIT, I couldn't help but cringe at the slog that this was. Lo and behold, a pile of unnecessary error conditions, cryptic errors, and lack of proper feedback. And I don't feel I did a good job communicating the frustration he went through in the one hour or so until he gave up. It went a bit like this... Note: N_ames of packages and people have been changed to protect their identity. I've also omitted a few issues he faced that were too specific to the package at hand. Some of the errors are reconstructed from memory, so let me know if I got anything wrong!_ John: Hey, I want to try out this algorithm I found on Github, it says to use import functionName from packageName and then call functionName(arguments). Seems simple enough! I don't really need a UI, so I'm gonna use Node! Lea: Sure, Node seems appropriate for this! John runs npm install packageName --save as recommended by the package's README John runs node index.js Node: Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. SyntaxError: Cannot use import statement outside a module John: But I don't have a package.json... Lea: Run npm init, it will generate it for you! John runs npm init, goes through the wizard, adds type: "module" manually to the generated package.json. John runs node index.js Node: SyntaxError: Cannot use import statement outside a module Oddly, the error was thrown from an internal module of the project this time. WAT?! Lea: Ok, screw this, just run it in a browser, it's an ES6 module and it's just a pure JS algorithm that doesn't use any Node APIs, it should work. John makes a simple index.html with a <script type="module" src="index.js"> John loads index.html in a browser Nothing in the console. Nada. Crickets. 🦗 Lea: Oh, you need to adjust your mo

## Node.js 14.0.0 (Current)

DevFeed: [Node.js 14.0.0 (Current)](<https://devfeed.tech/articles/node-js-14-0-0-current-2535.md>)

Original publisher: [Read original article](<https://nodejs.org/en/blog/release/v14.0.0>)

Published: 2020-04-22T10:20:16Z

Content type: release

Language: en

Sources: [Node.js](<https://devfeed.tech/sources/node-js-blog.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [V8](<https://devfeed.tech/topics/v8.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [eol](<https://devfeed.tech/tags/eol.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [release](<https://devfeed.tech/tags/release.md>), [v8](<https://devfeed.tech/tags/v8.md>), [wasm](<https://devfeed.tech/tags/wasm.md>)

### AI overview

Node.js 14.0.0 is a current release introducing semver-major changes, deprecations, removals, and updates to cryptography, filesystem handling, HTTP, operating-system APIs, streams, WebAssembly checks, and V8 ArrayBuffer support. It also removes the experimental-modules warning while keeping the ECMAScript Modules implementation experimental.

### Source excerpt

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

[Next page](<https://devfeed.tech/topics/ecmascript.md?cursor=WyIyMDIwLTA0LTIyVDEwOjIwOjE2KzAwOjAwIiwgImY1NWRiY2ZjLTExMGMtNDAxZS05ZTczLTJkNTdiNjdkNjk2NSJd>)