Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
54

How to use ESM on the web and in Node.js

from ByteofDev [alt+shift+b] in programming

ES (ECMAScript) Modules is a modern module format with many advantages over previous formats like CommonJS. How do you switch to it?
3rd Sep 2022

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from ByteofDev

Turning Claude into Postgres so I can raise a Series A

Watch out, Databricks

1st Aug 2026 • 2 votes
A Quick(ish) Introduction to Tuning Postgres

Learn some of the most important elements of tuning Postgres for performance and get a better understanding of Postgres fundamentals along the way.

21st Jul 2025 • 1 votes
Why I hate JavaScript numbers and what everyone has (not) done with them

JavaScript went against the grain in only using floating point numbers initially, and now we pay the price

26th Mar 2025 • 64 votes
JavaScript Benchmarking Is a Mess

Design decisions core to JavaScript have caused a multitude of problems for benchmarking. Is there a solution to this?

23rd Dec 2024 • 45 votes
A deep dive into distributed database architectures

Learn about different strategies for delivering data from multiple servers

12th Mar 2024 • 37 votes

More in programming

Unattended reboots with encrypted disks

An introduction to ZKeys: a new service that stores encryption keys off-site and automatically locks access to them if the client machines go offline for a long period of time.

3 days ago • 1 votes
Education Shouldn't Be Held for Ransom

Google told K-12 schools they could turn off AI, but only if they gave up search too. That isn’t integration. It’s holding education for ransom.

6 days ago • 1 votes
AI Assisted Sermon

Once a year at my church, I usually give one sermon. I was asked to tie the theme to a young adult retreat we had taken to the Sunshine Coast. My first experience giving a sermon was many years ago at my old home church in El Monte, California. It was a Vietnamese-American church, but…

6 days ago • 1 votes
Fortune Telling and Speculative Design

Practical tools for design engineers to explore possible futures through speculative design

6 days ago • 1 votes
Must we always use LLMs this way?

As with my last post on AI, let me open with a statement: Just because most people hold AI a certain way, doesn’t mean that we always must, either now or in the future. As I noted in that piece, and my shades of gray post, I am well aware — and agree with — … Continue reading Must we always use LLMs this way? →

a week ago • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in