Node.js

You want to execute your JavaScript code? That you can do in Node.js, a JavaScript runtime environment.

Node.js support ECMAScript modules

In the lecture slides it says Node.js doesn't support ECMAScript modules. That is no longer the case, see:

https://nodejs.org/api/esm.htmlopen in new window

However, Require JS and ECMAScript modules aren't 100% interchangeable, so it's probably best to be consistent and use only one of them, and I suspect many npm packages out there don't support ECMAScript modules to 100%, so the safest is probably to stick to using Require JS for now.

Lecture material