"type": "module" in package.json in nodejs code example Example: node package.json type module node --experimental-modules app.js