How can I create a minimal NodeJS script. mjs? What's that?
TIL .mjs is a thing, since when? When running my script (e.g. node myscript.js ) I see the error "SyntaxError: Cannot use import statement outside a module", why? I write a lot of Python, and I'm used to (like in bash) writing quick little scripts