CommonJs and ECMAScript module are the most famous module system in the javascript ecosystem. Before we consider why we should not use the CommonJs module system on the client-side, let's look at what exactly CommonJs and ESM are and how do they work...

Markdown supported · ⌘↵ to post
Manh Do
Programming
Great article. How can I import a package which only publish their code as esm without having to set type: "module" in my package.json?