in NodeJS you can 'import' an external file like so:
var myModule = require('./module.js');
ESM modules allow you to do the same in nodejs as you do in the backend...
import myModule from './module.js';
However, with the require syntax, I can call a constructor function (forgive if my term is wrong) like so:
var myModule = require('./module.js')(myObject);
... how would one do this with ESM syntax?