Import all exports as a single namespace object with * as. Access exports as properties.
import * as math from "./math.js";
console.log(math.add(1, 2));
console.log(math.subtract(5, 3));
console.log(math.PI);
This is useful when you need many exports from one module.