5min chapter

ClojureStream Podcast cover image

E71 nbb with Michiel Borkent

ClojureStream Podcast

CHAPTER

The Difference Between Common.js and ECMAScript Modules in NBB

Node.js has its own module format for JavaScript files called Common.js. But since a few years, ECMAScript 6, there is a new format called ECMAScript modules. Some libraries in the ecosystem support only Common.js and some other types of modules. NBB uses what they call dynamic import behind the scenes to require libraries. And so this was kind of difficult to figure out.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode