In this video we show how to use ESM (ECMAScript modules) to import packages into a node project. Developers are probably already familiar with CJS (Common JS) to import packages. We want to show how you can go from using CJS to ESM in your projects. It can be done in one simple step and there is a couple of ways to do it.
* VIEW FULL VIDEO HERE*
• Use ESM In A Node Project
CJS vs. ESM
https://webreflection.medium.com/cjs-....
Using Type in package.json
https://nodejs.org/api/packages.html#...