korrents

korrents · piece

NPM and NodeJS should do more to make ES Modules easy to use

Boris Cherny · 19 Jun 2024

Read the piece on borischerny.com ↗

3 korrents from this piece ↓

Boris Cherny did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. NPM and NodeJS should do more to make ES Modules easy to use
  2. CommonJS can be challenging to statically analyze, and uses an inefficient, synchronous module loading algorithm at runtime.
  3. We should make type=module the default for new package.json files for the npm init, yarn init, and pnpm init commands.

Keep reading

The other pieces are the ones whose claims are worded most like this one's. That measures language, not agreement: they may argue the opposite.