Import specific exports using curly braces. Names must match what was exported.
import { PI, double } from "./utils.js";
console.log(PI); // 3.14159
console.log(double(5)); // 10
You only import the bindings you need. Bundlers can remove unused exports during build (tree-shaking).