Skip to main content

2 docs tagged with "JavaScript"

View All Tags

Mismatch in Module Imports between ES6 and CommonJS

JavaScript has a long history of different ways to handle modularizing code, this inconsistency has always been a pain in the ass for developers. Before ES6 introduced ESM in 2015, CommonJS is the format which most modules on npm are delivered in. Now we are in the transition from CommonJS to ESM.