I tried it out myself. CommonJS (read everything in the wild) exports as default.

That means you can't use the following syntax with (most) existing npm modules:

import * as fs from 'fs';

import { map } from 'lodash';

https://github.com/nodejs/node/pull/14369#issuecomment-32903...

I know styfle is aware, but for others, you can unlock named exports of CJS modules with @std/esm:

https://github.com/standard-things/esm

https://medium.com/web-on-the-edge/es-modules-in-node-today-...