 |
Dear readers!
We started our newsletter “ES.next News” in 2016. This year, it’s time for a relaunch:
- Nobody uses the term “ECMAScript.next” anymore. That’s why the new name of this newsletter is “ECMAScript News”.
- It also has a new design and a new homepage at ECMAScript.News.
- The topic remains the same: JavaScript and tools.
Happy reading!
Jowe & Axel |
npm packages: Share of ESM vs. CommonJS?@wooorm [Quote:] This repository contains (historical) data on high-impact (popular) packages and what kind of code they expose:
- ESM — such as
type: 'module' in package.json
- Dual — such as both
import and require conditions in export map
- Faux ESM —
module field in package.json , supported by some old bundlers
- CJS — anything else (except for
@types/* )
|
|
JavaScript macros in Bun@Jarred-Sumner @oven-sh “Today we’re releasing a new feature that highlights the tight integration between Bun’s bundler and runtime: Bun Macros.”
“Macros are a mechanism for running JavaScript functions at bundle-time. The values returned from these functions are directly inlined into your bundle.” |
|
|
|
Introduction to JavaScript proxies@craigbuckler @openreplay “JavaScript proxies arrived in ES2015 [a.k.a. ES6]. A proxy sits between an object and the code that uses it. You can use them for meta-programming operations such as intercepting property updates. This article will teach you everything about proxies, so you can use them on your own.” |
|
|
This email was sent to {{ email | default }}. Here you can unsubscribe from this list or update your preferences. |
|