import express from 'express' babel To load an ES module, set "type": "module" in the package.json or use the .mjs extension code example
Example: node package.json type module
node --experimental-modules app.js
node --experimental-modules app.js