A JavaScript folder of modules uses an explicit entry file. In boiler/index.js, named re-exports choose the public functions while their implementations stay in the existing modules:
export { readLog, summarise } from "./readings.js";
export { loadPlants } from "./settings.js";
The caller names that file, including its extension:
import * as boiler from "./boiler/index.js";
index.js is a convention. The ES module import does not search a folder for it. A re-export can choose a public alias; if the entry file also uses the function locally, it needs an ordinary import too.
Next, complete Exercise: Give Asha One Place to Import the Parsers to give Asha’s dashboard widget one place to request its parser functions.